MintMenu has problems with Wine-generated application-files due to backslash-escape-handling

Bug #714848 reported by Ulrik Mikaelsson
42
This bug affects 8 people
Affects Status Importance Assigned to Milestone
mintMenu
Confirmed
Undecided
Unassigned

Bug Description

As discussed in http://forums.linuxmint.com/viewtopic.php?f=47&t=57536 and http://forums.linuxmint.com/viewtopic.php?f=76&t=60130, there are problems launching Wine-applications from MintMenu. Launching them from the desktop or panel works fine.

The root cause seems to be the double backslash-escaping done in the launcher-file, so "C:\someprog" is encoded to "C:\\\\someprog", and "my file" is encoded to "my\\ file". It seems mint menu while decoding is just decoding it once, causing failure.

Kazade (kazade)
Changed in mintmenu:
status: New → Confirmed
Revision history for this message
MestreLion (mestrelion) wrote :

At least for me, the problem is not in the double backslashes from "wine c:\\windows\\etc", but in the un-quoted last parameter (the .lnk file) and it's (single) escaping backslashes.

So a workaround can be, using this example:

env WINEPREFIX="/home/sb/.wine" wine C:\\windows\\command\\start.exe /Unix /home/sb/.wine/dosdevices/c:/users/sb/Start\ Menu/Programs/Microsoft\ Office/Microsoft\ Office\ Word\ 2007.lnk

would turn into this:
env WINEPREFIX="/home/sb/.wine" wine C:\\windows\\command\\start.exe /Unix "/home/sb/.wine/dosdevices/c:/users/sb/Start Menu/Programs/Microsoft Office/Microsoft Office Word 2007.lnk"

Revision history for this message
Removed by request (removed1836289) wrote :

A bug was filed in wine:
http://bugs.winehq.org/show_bug.cgi?id=27706

But this, of course, needs to be fixed in mintmenu.

Revision history for this message
MestreLion (mestrelion) wrote :

Wine won't fix this, devs already said "This needs to be fixed outside of wine."

http://bugs.winehq.org/show_bug.cgi?id=27706#c2

So please, Clem or anyone else in charge of mintMenu, fix this!

Revision history for this message
Graeme (gvj) wrote :

In some cases I have been able to get the menu to run by enclosing escaped words in single quotes. e.g. Program\ Files becomes 'Program Files'. This does not work for every case though.

I sure would like to see this one fixed as it is a pain cluttering up my normally clear desktop with start icons.

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.