Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
5.4.0
-
None
-
Qt 5.4, Linux, xcb platform, compiled from source
-
76de1ac0a4cd384f608a14b5d77a8cf3ef1ec868
Description
if from a function invoked from QML a QMenu is open with exec() (thus creating an internal event loop) when the menu is dismissed clicking outside of the process window (for instance clicking on another application window) then the QtQuick application will lose the next mouse click event, anywhere.
This is tested to happen on Linux/X11
Attached there is a minimal example:
a qobject is binded that execs a qmenu (appears on mouse press of the white mouse area)
if then the menu is dismissed by clicking on another application, if you click on the button in the center nothing will happen. The second time, it correctly prints "Button clicked"
Attachments
Issue Links
- relates to
-
QTBUG-32609 Context Menu closed when clicking into an area without any widget
- Closed