<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - xdg-desktop-menu does not support filenames with spaces"
href="https://bugs.freedesktop.org/show_bug.cgi?id=66605#c2">Comment # 2</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - xdg-desktop-menu does not support filenames with spaces"
href="https://bugs.freedesktop.org/show_bug.cgi?id=66605">bug 66605</a>
from <span class="vcard"><a class="email" href="mailto:linux@rodrigosilva.com" title="Rodrigo Silva <linux@rodrigosilva.com>"> <span class="fn">Rodrigo Silva</span></a>
</span></b>
<pre>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
<a href="https://bugs.launchpad.net/xdg-utils/+bug/1432932">https://bugs.launchpad.net/xdg-utils/+bug/1432932</a> , 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?</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>