[launcher] Drag’n’dropped favorites not persistent

Bug #719378 reported by Olivier Tilloy
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
unity-2d
Fix Released
Medium
Olivier Tilloy

Bug Description

Steps to reproduce:

1) Run `nautilus /usr/share/applications &`
2) Drag any icon (e.g. "About Ubuntu") from the nautilus window to the launcher and drop it there
3) Observe that the application is added to the launcher and can be launched
4) Logout, or simply restart the launcher: `killall unity-2d-launcher`

Expected result: the icon of the application previously favorited via drag’n’drop is still there
Current result: the launcher "forgot" about this favorite application

Related branches

Revision history for this message
Olivier Tilloy (osomon) wrote :

Note that the cause of this issue is quite obvious from reading the code: drag’n’dropping a desktop file to the launcher invokes LauncherApplicationsList::insertFavoriteApplication(…), which never actually calls LauncherApplicationsList::addApplicationToFavorites(…).

Changed in unity-2d:
status: New → Confirmed
Olivier Tilloy (osomon)
Changed in unity-2d:
assignee: nobody → Olivier Tilloy (osomon)
status: Confirmed → In Progress
Olivier Tilloy (osomon)
summary: - [launcher] Drag’n’dropped favorites not persistent across sessions
+ [launcher] Drag’n’dropped favorites not persistent
Changed in unity-2d:
milestone: none → 3.6
importance: Undecided → Medium
Changed in unity-2d:
status: In Progress → Fix Committed
Changed in unity-2d:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.