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

Modal non-native QFileDialog not accepting sidebar item removal or clicks on completer

    XMLWordPrintable

    Details

    • Platform/s:
      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.

      Another issue that feels like the same issue is that the file completer that shows when you type a filename behaves similarly - you can't click on any entries, and entries are not highlighted when you hover over them (mouse events are not delivered).

      This bug (both "Remove" and completer) does not manifest if the dialog is shown non-modally with .show()

      See qtbug-93441.zip that illustrates both working (non-modal) and non-working (modal) behavior.

      • fileDialog.setOption(QFileDialog::DontUseNativeDialog)

        Attachments

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

          Activity

            People

            Assignee:
            vhilshei Volker Hilsheimer
            Reporter:
            kkyzivat Keith Kyzivat
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes