Details
-
Bug
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
5.15.10
-
None
-
Mac OS 12.5.1, Qt Creator 8.0.0, iOS 15.5
Description
Our application uses a subclass of QDialog with the WindowStaysOnTopHint flag set.
QPushButtons within the dialog do not behave correctly. The first button press depresses the button but the menu does not appear. The menu appears correctly on subsequent presses.
This only happens on iOS. The same code works correctly on macOS and Windows.
I have attached a simple example project that illustrates the issue. It also shows that the problem occurs in a QMainWindow subclass.
I think it's possibly caused by the incorrect window level being set for the menu's underlying QUIView.