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

    • Type: Bug
    • Status: Closed
    • Priority: P1: Critical
    • Resolution: Done
    • Affects Version/s: 5.1.1, 5.2.0 RC1
    • Fix Version/s: 5.3.0
    • Component/s: Core: I/O
    • Labels:
      None
    • Environment:
      OS X.9
    • Platform/s:
      macOS
    • Commits:
      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

        1. MavFileDialog.zip
          6 kB
          Dyami Caliri
        2. Screen Shot 2013-11-07 at 1.39.29 PM.png
          72 kB
          eric villa

          Issue Links

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

            Activity

              People

              Assignee:
              dedietri Gabriel de Dietrich (drgvond)
              Reporter:
              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