Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-37312

Icons Not Updated After Using Mac OS Open File Dialog Filter Popup Menu



    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Done
    • Affects Version/s: 5.2.0, 5.2.1
    • Fix Version/s: 5.9.6
    • Labels:
    • Environment:
      Mac OS X 10.9.1
    • Platform/s:


      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.


        No reviews matched the request. Check your Options in the drop-down menu of this sections header.



            • Assignee:
              peppe Giuseppe D'Angelo
              hrodstein Howard Rodstein
            • Votes:
              0 Vote for this issue
              4 Start watching this issue


              • Created:

                Gerrit Reviews

                There are no open Gerrit changes