Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
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.
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)