[Bug 3882] New: Common dialong controls File open File save the filter option undocumented function. Does not work with more then one type of file.

Wine Bugs wine-bugs at winehq.org
Sat Nov 19 12:35:31 CST 2005


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

           Summary: Common dialong controls File open File save the filter
                    option undocumented function. Does not work with more
                    then one type of file.
           Product: Wine
           Version: CVS
          Platform: PC
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: minor
          Priority: P1
         Component: wine-gui
        AssignedTo: wine-bugs at winehq.org
        ReportedBy: pgr at arcelectronicsinc.com


In window 95 (only version handy) the filter select if set to two data types like
"*.c *.h" works but fails on wine.

Resarching the win 3.1 API info included in Delhi 1 it requires a ";" between
types. But tests of the file filter on Win 95 seem to suggest that space and
semicolon are treated the same.

The common dialogs test program is located in wine/programs/cmdlgtst/cmdlgtst.c 

This adding the two test cases

static const char ofn_filepat[] = "All Files (*.*)\0*.*\0\
Only Text Files (*.txt)\0*.txt\0\
Text and ini Files (*.c *.h)\0*.c *.h\0\
Text and ini Files (*.c;*.h)\0*.c;*.h\0";

I don't have any windows newer the 98se to test further.

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the wine-bugs mailing list