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

Modal non-native QFileDialog not accepting sidebar item removal

    XMLWordPrintable

Details

    • Task
    • Resolution: Duplicate
    • Not Evaluated
    • None
    • 5.15.2
    • I have tested this on macOS 10.15.7 and Windows 10 both with Qt 5.15.2, and it only reproduces on macOS.

    • macOS

    Description

      If you show a non-native* file dialog on macOS, and drag a folder to the sidebar (favorites/bookmarks), then try to remove that folder (or an existing folder shown) by right-clicking and choosing "Remove" from the context menu that shows, the "Remove" menu item is not clickable.

      Note: It is possible to activate this menu item if you drag over to the menu item before releasing the right-click that shows the context menu, however, if you right-click and release to show the popup menu, then move overtop the "Remove" menu item, it is not highlighted, and does not respond to clicks.

      This bug does not manifest if the dialog is shown non-modally with .show()

      See attached sample application that illustrates both working (non-modal) and non-working (modal) behavior.

      * fileDialog.setOption(QFileDialog::DontUseNativeDialog)

      Attachments

        Activity

          People

            Unassigned Unassigned
            kkyzivat Keith Kyzivat
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: