[Bug 16356] 16 bit file dialog file filter not working

wine-bugs at winehq.org wine-bugs at winehq.org
Sun Dec 7 22:22:37 CST 2008


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





--- Comment #3 from Paul Romanyszyn <pgr at arcelectronicsinc.com>  2008-12-07 22:22:36 ---
It looks like the combobox should set the dialog filter index when it changes
but it does not. Before the patch the file name was set to the filter and then
used by scandir. Now it is done the correct way but with the wrong (default)
filter index.

With my limited knowledge of how the 16 to 32 bit stuff is handled along with
not knowing enough of the WINAPI it will be a while (at least 2 weeks) before I
have any free time to investigate much further. In FD31_FileTypeChange it needs
to query the combobox with the filter str to get the index then set
nFilterIndex to the new index.

traces with some additional data and traces added

trace:commdlg:FD31_WMInitDialog add str=L"txt" associated to L"*.txt"
trace:commdlg:FD31_WMInitDialog add str=L"all" associated to L"*.*"
...
trace:commdlg:FD31_FileTypeChange Selected filter : L"*.*"
trace:commdlg:FD31_Validate got filename = L"File.txt"
trace:commdlg:FD31_TestPath before scandir
trace:commdlg:FD31_ScanDir Trying to change to L"File.txt\\" filter L"txt"
filterinx 1


-- 
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