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

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

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.9.6
    • 5.2.0, 5.2.1
    • None
    • Mac OS X 10.9.1
    • macOS

    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.

      Attachments

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

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes