http://bugs.winehq.org/show_bug.cgi?id=31008
Bug #: 31008 Summary: WinUAE "Browse for folder" works incorrectly Product: Wine Version: 1.5.7 Platform: x86 URL: http://www.winuae.net/ OS/Version: Linux Status: UNCONFIRMED Severity: minor Priority: P2 Component: comdlg32 AssignedTo: wine-bugs@winehq.org ReportedBy: ocean04@suomi24.fi Classification: Unclassified
Install / run.
Click "paths" and click "..."
It should show "Browse for folder" dialog, but it shows "Open file" dialog.
-> It doesn't work
fixme:commdlg:IServiceProvider_fnQueryService Interface {e07010ec-bc17-44c0-97b0-46c7c95b9edc} requested from unknown service {e07010ec-bc17-44c0-97b0-46c7c95b9edc}
Workaround native comdlg32.dll
http://bugs.winehq.org/show_bug.cgi?id=31008
ocean04@suomi24.fi changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download
http://bugs.winehq.org/show_bug.cgi?id=31008
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |source
http://bugs.winehq.org/show_bug.cgi?id=31008
--- Comment #1 from Nikolay Sivov bunglehead@gmail.com 2012-06-25 23:04:55 CDT --- (In reply to comment #0)
Install / run.
Click "paths" and click "..."
It should show "Browse for folder" dialog, but it shows "Open file" dialog.
It depends actually. Application detects what is supported and what you expect is the last thing in fallback path.
Could you try this on Vista or Win7? I expect a difference:
--- pSHCreateItemFromParsingName = (SHCREATEITEMFROMPARSINGNAME)GetProcAddress ( GetModuleHandle (_T("shell32.dll")), "SHCreateItemFromParsingName"); if (pSHCreateItemFromParsingName) hr = CoCreateInstance (mode > 0 ? __uuidof(FileSaveDialog) : __uuidof(FileOpenDialog), NULL, CLSCTX_INPROC_SERVER, mode > 0 ? IID_IFileSaveDialog : IID_IFileOpenDialog, (LPVOID*)&pfd); if (FAILED (hr)) { if (mode > 0) return GetSaveFileName (opn); else if (mode == 0) return GetOpenFileName (opn); else return DirectorySelection2 (opn); } ---
In case of these buttons 'mode' is -1 so it goes with FileOpenDialog and IID_IFileOpenDialog which is what you see. The dialog you expect created from DirectorySelection2().
The question now is - does open dialog look the same it looks in Win7?
Workaround native comdlg32.dll
The reason is most likely is that native module is too old.
http://bugs.winehq.org/show_bug.cgi?id=31008
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Component|comdlg32 |-unknown Ever Confirmed|0 |1
--- Comment #2 from Nikolay Sivov bunglehead@gmail.com 2012-06-25 23:05:09 CDT --- Confirming.
http://bugs.winehq.org/show_bug.cgi?id=31008
--- Comment #3 from ocean04@suomi24.fi 2012-06-26 01:01:58 CDT --- Created attachment 40719 --> http://bugs.winehq.org/attachment.cgi?id=40719 Dialog in Win7
It shows "Select folder" dialog in Win7
http://bugs.winehq.org/show_bug.cgi?id=31008
Mark K markk@clara.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |markk@clara.co.uk
http://bugs.winehq.org/show_bug.cgi?id=31008
--- Comment #4 from ocean04@suomi24.fi --- Still in Wine wine-1.7.21-61-gf9f3b21
Workaround: wine regsvr32 /u comdlg32.dll
https://bugs.winehq.org/show_bug.cgi?id=31008
David Hedberg david.hedberg@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |david.hedberg@gmail.com
--- Comment #5 from David Hedberg david.hedberg@gmail.com --- This should now work natively in latest git.
https://bugs.winehq.org/show_bug.cgi?id=31008
ocean04@suomi24.fi changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |3cf2fb3a9c83a1326e4c5a623f2 | |d85e0aad76876 Status|NEW |RESOLVED Component|-unknown |comdlg32 Resolution|--- |FIXED
--- Comment #6 from ocean04@suomi24.fi --- Thanks
https://bugs.winehq.org/show_bug.cgi?id=31008
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #7 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 1.7.24.
https://bugs.winehq.org/show_bug.cgi?id=31008
--- Comment #8 from Mark K markk@clara.co.uk --- *** Bug 32393 has been marked as a duplicate of this bug. ***