[Bug 15384] New: Incorrect behaviour when using BIF_RETURNONLYFSDIRS | BIF_BROWSEINCLUDEFILES

wine-bugs at winehq.org wine-bugs at winehq.org
Tue Sep 23 07:54:41 CDT 2008


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

           Summary: Incorrect behaviour when using BIF_RETURNONLYFSDIRS |
                    BIF_BROWSEINCLUDEFILES
           Product: Wine
           Version: 1.0.0
          Platform: All
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: P2
         Component: shell32
        AssignedTo: wine-bugs at winehq.org
        ReportedBy: boris.seve at drillscan.com


When calling SHBrowseForFolder with both BIF_RETURNONLYFSDIRS and
BIF_BROWSEINCLUDEFILES flags the 'Ok' button is incorrectly disabled when a
file is selected (button is enabled however when a directory is selected)

If only the BIF_BROWSEINCLUDEFILES flag is set the 'Ok' button is correctly
enabled when a file is selected.

AFAIK (and confirmed on Windows XP SP3) the 'Ok' should be enabled when a
directory is selected AND when a file is selected if both flags are set.

This holds true whether BIF_NEWDIALOGSTYLE is set or not.


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