Details
-
Bug
-
Resolution: Done
-
Not Evaluated
-
5.6.0
-
None
-
Windows 7
-
25c9a6c9b46e6ae58dcccdc3ba158d14945cbf33
Description
In Windows, moving the mouse over a QMenu will generate two enter events and moving the mouse out of the menu will send two leave events. Also,. with tear-off enabled, going over the tear-off bar will trigger the first enter event and moving on the menu will generate the second.
If a sub menu is tear-off-able, moving the mouse over the tear-off bar (without entering the sub-menu) will generate a leave event on the first menu and will close the sub-menu.
On Mac and Linux, no enter event is generated when going over the tear-off bar, the enter event is only generated when going over the sub-menu's items also triggering the a leave event for the main menu. Contrarily to Windows leaving the mouse over the tear-off bar will not close the sub-menu.
Attached a simple test case
Attachments
Issue Links
- relates to
-
QTBUG-52087 Submenus are closed after a timeout if they were opened by a finger tap (X11)
- Closed