Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.0.0 Beta 2
-
None
-
Windows; probably others, too.
-
715902051a6ba28b6a9f86fce28c12c1b977630c
Description
When application has popup active, the popup gets leave event when mouse cursor leaves the application window, but when mouse cursor enters the application window later, the enter event is sent to main window:
2944 ## Got Leave for: QMenu(0x1e5d3c0) 2948 ## Got Enter for: MainWindow(0x1af940, name = "MainWindow")
Steps to reproduce:
1) Start the attached application
2) Click "Popup" button (Duplicate leaves and enter to QMenu here are a separate issue: QTBUG-27549)
3) Move the cursor outside application -> Leave event for QMenu
4) Move the cursor back inside application -> Enter event for MainWindow
5) Repeat steps 3 & 4 -> Same inconsistent results.