[Bug 32833] Wine cannot find help (chm) files in dir with () in name

wine-bugs at winehq.org wine-bugs at winehq.org
Wed Jan 30 06:06:16 CST 2013


http://bugs.winehq.org/show_bug.cgi?id=32833

Rico <kgbricola at web.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1

--- Comment #2 from Rico <kgbricola at web.de> 2013-01-30 06:06:16 CST ---
I gave it a try, I could confirm the problem, but I don't think it has to do
with the brackets "()", more I think it has to do something with the spaces...

Test case:
mkdir ~/.wine/drive_c/a\ test
wine explorer "C:\a test" -> opens "C:\a test" (ok)

echo "t1" > ~/.wine/drive_c/a\ test/1.txt
wine explorer "C:\a test" -> opens "C:\a test" (ok)
click on 1.txt -> opens notepad "C:\a test\1.txt" (ok)
wine explorer "C:\a test\1.txt" -> opens notepad "C:\a test\1.txt" (ok)
wine notepad "C:\a test\1.txt" (ok)

mkdir ~/.wine/drive_c/a
wine explorer "C:\a test" -> opens "C:\a test" (ok) && click on 1.txt -> opens
"C:\a" (wrong)
wine explorer "C:\a test\1.txt" -> opens "C:\a" (wrong)
wine explorer "C:\a" -> opens "C:\a" (ok)
wine notepad "C:\a test\1.txt" (ok)

echo "t2" > ~/.wine/drive_c/a/1.txt
wine explorer "C:\a test" -> opens "C:\a test" (ok) && click on 1.txt -> opens
"C:\a" (wrong)
wine explorer "C:\a test\1.txt" -> opens "C:\a" (wrong)
wine explorer "C:\a" -> opens "C:\a" (ok) && click on 1.txt -> opens "C:\a"
(ok)
wine explorer "C:\a\1.txt"  -> opens notepad "C:\a\1.txt" (ok)
wine notepad "C:\a test\1.txt" (ok)
wine notepad "C:\a\1.txt" (ok)

wine explorer "C:\invalid" -> opens "Desktop"
wine explorer "C:\ " -> opens "C:\" (I think this should be handled the same as
above)

So when a folder with a space in it has the same prefix as one without there is
something wrong, this holds true even for folders which start with an space,
examples:
- "a", "a test"
- "Program Files", "Program Files (x86)"
- "C:\ ", "C:\"

Imho this may affect a couple of apps ... mostly 32bit apps in a 64bit prefix.
You couldn't easily rename "Program Files (x86)" so the best workaround for now
is using a 32bit prefix (WINEARCH=win32). Otherwise try to avoid using nearly
the same name for folders (which differ only by a " xxx").

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
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