http://bugs.winehq.org/show_bug.cgi?id=32393
Bug #: 32393 Summary: comdlg32: Only files can be selected in folder selection dialog, not folders Product: Wine Version: 1.5.19 Platform: x86-64 URL: http://www.winuae.net/files/InstallWinUAE2500.exe OS/Version: Linux Status: UNCONFIRMED Severity: minor Priority: P2 Component: comdlg32 AssignedTo: wine-bugs@winehq.org ReportedBy: markk@clara.co.uk Classification: Unclassified
Created attachment 42741 --> http://bugs.winehq.org/attachment.cgi?id=42741 Dialog shown in Wine
This bug shows up with WinUAE. To reproduce:
- Download and run the WinUAE installer. Click the checkbox to run WinUAE at the end. - When the WinUAE Properties window opens click Hard drives in the treeview, then the Add Directory or Archive... button. - The Volume Settings dialog opens. Click the Select Directory button. - A folder-selection dialog is supposed to open. However a file-selection dialog opens instead which only allows files to be selected. Clicking once on a directory and clicking Open does nothing. Entering a directory and clicking Open (with no filename selected) also does nothing.
In comparison, testing in Windows Vista the button at the bottom of the file dialog says "Select Folder", and allows you to select a directory. In Wine the button says Open and only allows files to be selected.
I tried using native comdlg32.dll from Windows XP and with that the proper folder-selection dialog was shown.
As an aside, with native comdlg32 and clicking the Add Hardfile... button I got a crash where Wine reported wine: Call from 0x7bc4e206 to unimplemented function SHELL32.dll.755, aborting If that qualifies as a Wine bug I can create a separate bug for that.