Browse dialog doesn't escape spaces in command path

Bug #54748 reported by bcreitz
4
Affects Status Importance Assigned to Milestone
alacarte (Ubuntu)
Fix Released
Low
Travis Watkins

Bug Description

Binary package hint: alacarte

When choosing the command to associate with an item by using the 'browse' dialog, if I choose a path that includes spaces, the menu entry won't work... I have to remember to escape the spaces in the path that the dialog box dumps into the edit field.

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

Indeed. Looking.

Changed in alacarte:
assignee: nobody → amaranth
status: Unconfirmed → Confirmed
Changed in alacarte:
importance: Untriaged → Low
Revision history for this message
bcreitz (ben-creitz) wrote : Suggestion Re: Browse dialog doesn't escape spaces in command path

Consider a new text field, adjacent to the 'command' field, in which the user types the command's arguments. The 'command' field's events can be set up to escape spaces whenever its contents change, and since the args will go in a separate field, there is no confusion over which spaces need escaping--every space in the 'command' field will. Existing commands read in from .desktop files will be easily parsed to fit into the new two-field scheme.

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

Sorry, rather busy with school and such right now, I'll be lucky to get an 0.10.0 release out at all for GNOME 2.16. Will look at this when more free time develops.

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

Should be fixed in CVS, will do a new release soon.

Changed in alacarte:
status: Confirmed → Fix Committed
Revision history for this message
Sebastien Bacher (seb128) wrote :

This upload fixes the issue:

" alacarte (0.10.1-0ubuntu1) edgy; urgency=low
 .
   * New upstream version:
     - lots of small fixes
     - fix "Browse dialog doesn't escape spaces in command path"
       (Ubuntu: #54748)
     - fix "replaces \r by carriage return" (Ubuntu: #63168)
"

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