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.
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)