Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.2.0, 5.2.1
-
None
-
Mac OS X 10.9.1
Description
I'm reporting some incorrect behavior related to the filter popup menu in the Open File dialog on Mac OS X.
On OS X 10.9, compile and run the standard dialogs example in examples/widgets/dialogs/standarddialogs.
In the resulting Standard Dialogs window, click File Dialogs to open the File Dialogs tab.
Click the QFileDialog::getOpenFileNames button. An Open File dialog appears.
Navigate to a folder that contains some .txt files and some non-.txt files. Note that all icons are enabled.
From the filter popup menu near the bottom of the dialog, choose Text Files. Note that all icons remain enabled. This is incorrect.
With Qt 5.2.0 the enabled icons remain enabled if I choose Text Files from the filter popup menu. If I then resize the dialog the non-.txt file icons are properly disabled.
With Qt 5.2.1 all icons are enabled all the time regardless of whether I choose All Files or Text Files from the filter popup menu.
I have tested the 5.2.0 version on OS X 10.6 and it worked correctly. This may be an OS bug or perhaps an incompatibility between Qt5 and OS X 10.9 but I think it should be investigated.