Alacarte still doesn't handle spaces properly

Bug #113652 reported by Alec Faithfull
2
Affects Status Importance Assigned to Milestone
alacarte (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: alacarte

While the fix for bug #68835 stopped Alacarte from generating .desktop files with spaces in their filenames, other components of GNOME can still create these and Alacarte still doesn't deal with them well, displaying all the same problems it did in the previous bug.

This issue was observed on Feisty Fawn ("alacarte --version" reports "GNOME alacarte 0.11.3") with launchers created by the gnome-desktop-item-edit ("gnome-desktop-item-edit --version" reports "GNOME gnome-desktop-item-edit 2.18.1") utility, but any other program that might create such a .desktop file would encounter similar problems with Alacarte. The freedesktop.org spec for .desktop files doesn't appear to forbid spaces in filenames, which is why I'm reporting this against Alacarte rather than gnome-panel.

Steps to reproduce:
1) Right-click anywhere on the desktop and click "Create Launcher..."
2) Create a launcher with any command, icon and comment, but put a space in its name
3) Open Alacarte and drag-and-drop this new launcher from the desktop into any menu's "Items..." panel
4) It won't display (or be updated when edited) in the editor or the menu until the session is restarted, as in #68835
5) To see the expected behaviour, create a launcher with no spaces in its name and repeat step three. This one will be added to the editor panel and the menu and can be edited properly

Revision history for this message
Travis Watkins (amaranth) wrote :

If the spec doesn't disallow spaces then the bug is in gnome-menus, where the panel and alacarte get all their menu spec logic.

Revision history for this message
Michael (mike984) wrote :

This bug should be closed - Alacarte is displaying the item with spaces properly now.

Changed in alacarte:
status: New → 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.