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

FolderDialog causes a livelock on mac if folder is changed.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P2: Important P2: Important
    • None
    • 5.12.0, 5.13.2, 5.14.1
    • Quick: Dialogs
    • Mac OS
    • macOS

      Can be reproduced by the following example:

      1) Press window to open FolderDialog
      2) Select "Open"
      3) Repeating step 1 will cause the UI to hang

      Note that this only happens if you explicitly change the folder. It can be set to anything, even an empty string and it will still trigger the issue.

      import QtQuick 2.13
      import Qt.labs.platform 1.0
      import QtQuick.Window 2.12
      
      Window {
          visible: true
      
          FolderDialog { id: folderDialog }
      
          MouseArea {
              anchors.fill: parent
              onClicked: {
                  folderDialog.folder = "couldBeAnything";
                  folderDialog.open();
              }
          }
      }
      

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

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            bachewii Jens
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes