Menulibre doesn't escape Exec key properly where spaces in

Bug #1214815 reported by Cefn
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MenuLibre
Fix Released
Low
Unassigned

Bug Description

[SRU - Test Case]
1. Click the browse button for Command.
2. Select an executable with a space in the path.

[SRU - Expected Results]
[[MenuLibre 2.0.3]]
Command is populated exactly as read, without the escaped space and the launcher does not work.

[[MenuLibre 2.0.4]]
Command is populated such that the space is escaped and the launcher works correctly.

[Original Report]
I've found no way at all to point to a script within a folder which has spaces in the name. Menulibre doesn't handle the escaping automatically by default.

The documentation at https://developer.gnome.org/desktop-entry-spec/ details how the escaping should be handled, but I haven't figured out how to satisfy it for Gnome-shell's Exec parser.

My workaround has been to create a softlink to the script within /usr/local/bin which is in my $PATH. However, if Menulibre would handle whitespace escaping properly within paths, in a way which satisfies gnome-shell that would be fantastic, and would have saved me a very long time.

Related branches

Sean Davis (bluesabre)
Changed in menulibre:
status: New → Confirmed
importance: Undecided → Low
Sean Davis (bluesabre)
Changed in menulibre:
status: Confirmed → Fix Committed
Sean Davis (bluesabre)
Changed in menulibre:
milestone: none → 2.0.4
Sean Davis (bluesabre)
Changed in menulibre:
status: Fix Committed → Fix Released
Sean Davis (bluesabre)
description: updated
Revision history for this message
Chris Halse Rogers (raof) wrote : Please test proposed package

Hello Cefn, or anyone else affected,

Accepted menulibre into trusty-proposed. The package will build now and be available at http://launchpad.net/ubuntu/+source/menulibre/2.0.4-1~ubuntu14.04.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

tags: added: verification-needed
Revision history for this message
Jack Fromm (jjfrv8) wrote :

I could not get it to add the launcher at all in 2.03 but it works as advertised in 2.04.

tags: added: verification-done
removed: verification-needed
Revision history for this message
Adam Conrad (adconrad) wrote : Update Released

The verification of the Stable Release Update for menulibre has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

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.