[launcher] quicklist .desktop files support

Bug #669923 reported by Florian Boucault
28
This bug affects 5 people
Affects Status Importance Assigned to Milestone
unity-2d
Fix Released
Wishlist
Olivier Tilloy
unity-2d (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

According to unity/HACKING it is possible to add quicklist entries to an application by adding entries to its .desktop file. It looks somewhat like that:

[QuickList Entry 1]
Name=FooBar Action
Exec=foobar --thingone

[QuickList Entry 2]
Name=FooBar Second Action
Exec=foobar --thingtwo

[QuickList Entry 3]
Name=FooBar Third Action
Exec=foobar --thingthree

Related branches

Changed in upicek:
importance: Undecided → Wishlist
Revision history for this message
Mark Shuttleworth (sabdfl) wrote : Re: [Bug 669923] [NEW] [launcher] quicklist .desktop files support

That's correct - apps should be able to have QuickList entries when they
are *not* running, and replace them when they start up.

Mark

Changed in upicek:
status: New → Confirmed
affects: upicek → unity-2d
visibility: private → public
Changed in unity-2d:
milestone: none → 3.10
assignee: nobody → Olivier Tilloy (osomon)
Revision history for this message
Olivier Tilloy (osomon) wrote :

Some applications that come with built-in static quicklist entries in their desktop files in Natty:

 - evolution (compose, contacts, calendar)
 - firefox (new window)
 - gnome-screenshot (screen, window)
 - libreoffice suite (new document)

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

Parsing the static entries in the desktop file is done through libindicator’s IndicatorDesktopShortcuts. This should be rather straightforward to implement.

Olivier Tilloy (osomon)
Changed in unity-2d:
status: Confirmed → In Progress
Olivier Tilloy (osomon)
Changed in unity-2d:
status: In Progress → Fix Committed
Changed in unity-2d (Ubuntu):
status: New → Fix Committed
Revision history for this message
Colin Law (colin-law) wrote :

This is still not working fully for me. For example on Firefox icon on Launcher when I right click I see

Open an New Window
Firefox Web Browser
Keep In Launcher
Quit

The first, third and fourth entries can be clicked, but the Firefox one cannot. The same symptom is seen on other launchers such as the LibreOffice ones, the 'base' action, that is selected by left clicking the launcher is not selectable on right click menu.

Unity-2d 3.8.4.1-0ubuntu2~bzr590

Revision history for this message
Florian Boucault (fboucault) wrote :

This is expected behaviour. The name of the application is only here as information.

Revision history for this message
Colin Law (colin-law) wrote :

In that case we have an incompatibility with Unity 3D where all items on the right click menu from a launcher icon can be selected.

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

@Colin: right, there is a discrepancy between Unity and Unity-2d, but that’s a different bug than the one reported here. Can you please file a separate bug report? Thanks!

Revision history for this message
Colin Law (colin-law) wrote :
Changed in unity-2d:
milestone: 3.10 → 3.8.6
Changed in unity-2d:
status: Fix Committed → Fix Released
Changed in unity-2d (Ubuntu):
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.