[Portland-bugs] [Bug 66605] xdg-desktop-menu does not support filenames with spaces

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sat Apr 4 00:12:08 PDT 2015


https://bugs.freedesktop.org/show_bug.cgi?id=66605

--- Comment #2 from Rodrigo Silva <linux at rodrigosilva.com> ---
This affects more than just installing `.desktop` files. It also affects
uninstalling *any* .directory file, with spaces or not, if
`XDG_CONFIG_HOME/menus/applications-merged` contains a `.menu` file with
spaces.

In this case, a simple `xdg-desktop-menu uninstall vendor-foo.directory
vendor-bar.desktop` *freezes*. Notice there's no spaces in those names!

This was reported in Ubuntu as
https://bugs.launchpad.net/xdg-utils/+bug/1432932 , and it contains a working
patch that does not seem ugly: it simply quotes the vars as they should be.

"avoiding the use of .desktop filenames with spaces" is not always an option: 
wine creates such files, and they do so by design (its .menu files are named
after their windows `.lnk` counterparts).

So if a user has wine-installed games, no other software will be able to
uninstall its own .directory files!

Any chance this patch could be merged?

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/portland-bugs/attachments/20150404/c3ff5b4a/attachment.html>


More information about the Portland-bugs mailing list