http://bugs.winehq.org/show_bug.cgi?id=26535
Summary: Escaped spaces in desktop entries Product: Wine Version: 1.2.2 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: markus.enzenberger@gmail.com
I found a small bug in the desktop entry creation of Wine 1.2.2. I installed a program that creates links in the start menu and on the desktop. While it works to run the program from the start menu, clicking on the Desktop entry fails. The problem is that the command line in the desktop entry escapes spaces that shouldn't be escaped.
The command in the desktop entry is:
env WINEPREFIX="/home/markus/.wine" wine C:\Programme\Java\jre6\bin\javaw.exe -jar\ "C:\Programme\Fuego\gogui.jar"\ -program\ "C:\Programme\Fuego\fuego.exe"\ -register
Running this command in a terminal shows the error:
Unrecognized option: -jar "C:\Programme\Fuego\gogui.jar" -program "C:\Programme\Fuego\fuego.exe" -register
The problem is that, because spaces are inadvertedly escaped, javaw.exe is invoked with the argument line merged into a single argument.
When I click on the corresponding lnk file in c:\users\Public\Desktop the program starts without problems. Therefore I think that the program installs correctly, but Wine makes a mistake when creating the desktop entry from the lnk file.
http://bugs.winehq.org/show_bug.cgi?id=26535
Dmitry Timoshkov dmitry@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Severity|normal |minor
--- Comment #1 from Dmitry Timoshkov dmitry@codeweavers.com 2011-03-24 08:12:34 CDT --- Please retest with a more recent Wine version.
http://bugs.winehq.org/show_bug.cgi?id=26535
--- Comment #2 from markus.enzenberger@gmail.com 2011-03-24 10:09:46 CDT --- I installed the latest beta version of Wine (1.3.16) and it works there.
http://bugs.winehq.org/show_bug.cgi?id=26535
Dmitry Timoshkov dmitry@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |FIXED
--- Comment #3 from Dmitry Timoshkov dmitry@codeweavers.com 2011-03-24 10:21:46 CDT --- Reported fixed.
http://bugs.winehq.org/show_bug.cgi?id=26535
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #4 from Alexandre Julliard julliard@winehq.org 2011-04-01 12:41:03 CDT --- Closing bugs fixed in 1.3.17.