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

FolderDialog causes a livelock on mac if folder is changed.

    XMLWordPrintable

Details

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

    Description

      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();
              }
          }
      }
      

      Attachments

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

        Activity

          People

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

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes