[Bug 27580] Wine Notepad command line parser eats the first 2 letters when the path starts with / (it should only do this for valid command line options)

wine-bugs at winehq.org wine-bugs at winehq.org
Thu Feb 25 18:13:31 CST 2016


https://bugs.winehq.org/show_bug.cgi?id=27580

trashystashy2 at gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |trashystashy2 at gmail.com

--- Comment #16 from trashystashy2 at gmail.com ---
Debian wine-devel v.1.9.4 cannot execute any Windows program (e.g., notepad or
wordpad) except via Linux shell command line.

This has been happening to me since I installed the WineHQ official wine-devel
binaries for the first time last month -- my older wine from Debian repo was
working for these cases.
After upgrading via Synaptic Package Manager yesterday, I noticed how new wine
always fails to start its own programs.

$ uname --all
Linux debian 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt20-1+deb8u3 (2016-01-17)
x86_64 GNU/Linux

$ wine --version
wine-1.9.4

$ wine notepad.exe
"Could not load wine-gecko. HTML rendering will be disabled.
wine: configuration in '/home/user/.wine' has been updated."
(First time usage, I did not accept installing either the .NET or the
wine-gecko options, nor their Debian repo package substitutes.)

$ wine notepad wine-bug.txt
(works!)

$ wine notepad.exe wine-bug.txt
(works!)

PROBLEM:
Double-click on wine-bug.txt from MATE's file manager.
(fails!  Temporarily displays in task bar as loading.)

Right-click for properties menu from MATE's file manager and manually enter
"wine notepad.exe %1" as command to execute for file types having extension
".txt".
(fails!  'ome/user/wine-bug.txt' file not found!)

Notice the missing 'h' from the Unix-style pathname.  Wine v1.9.4 is removing
at least the first character of the OS supplied (relative?) pathname.
This problem does not happen likewise starting MATE's Pluma text editor. 
Therefore the defect is wine-devel specific.

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list