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

GetOpenFileName does not close using QT 5.1.1 or QT 5.2RC framework on Mac OS X.9

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 5.3.0
    • 5.1.1, 5.2.0 RC1
    • Core: I/O
    • None
    • OS X.9
    • macOS
    • ff3dcc49c4a1912189091e35e87cb61af2f62d47

    Description

      call to QFileDialog::getOpenFileName(this, tr("Open File"), QDir::currentPath(), "Images (*.png *.bmp *.jpg, *.tif)")

      does not aways close (80% of the time) after selecting a file and click OK, The OpenFile dialog stays on top but is like frozen (as you can see on the screen shot, open button stays in clicked mode), if you can do Hide/Show App from the menu bar... this will close the dialog and remove it from top!

      • Click on Cancel always works fine
      • same code with dialog.setOption(QFileDialog::DontUseNativeDialog); added works fine
      • same code with 4.8.5 frameworks works fine

      !!!!this is for me a severe issue which prevent the use of 5.1 or 5.2 frameworks

      Attachments

        Issue Links

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

          Activity

            People

              dedietri Gabriel de Dietrich (drgvond)
              eric_vi eric villa
              Votes:
              1 Vote for this issue
              Watchers:
              11 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes