Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.15.0, 6.2.2
-
None
-
-
73d35d3117 (qt/qtwayland/dev) 16aec91bd8 (qt/tqtc-qtwayland/5.15) bc11b00d0d (qt/qtwayland/6.2) 54fe6400cb (qt/qtwayland/6.3) bc11b00d0d (qt/tqtc-qtwayland/6.2) 54fe6400cb (qt/tqtc-qtwayland/6.3) bc11b00d0d (qt/qtwayland/6.2), ae380d343 (dev)
Description
Hover state of QCombobox has not been reset
Click on the qcombobox to pop up a popup window, and click the left mouse button to make the popup window disappear. Repeat several times.
qcombobox is still in hover state. This problem only exists in wayland
I compared the logic under X11 and Wayland.
X11: popup menu -> right click outside the menu -> menu disappears -> received XCB_LEAVE_NOTIFY and XCB_ENTER_NOTIFY
At this point the control's WA_UnderMouse will be reset.
Wayland: Pop-up menu -> right-click outside the menu -> menu disappears without any leave or enter events.
The WA_UnderMouse state of Widget and QCombobox is not reset.
I'm not sure if this is a window manager bug, I tested it under kwin and weston, both.
Attachments
Issue Links
- relates to
-
PYSIDE-2114 Wayland: Application crash during QComboBox item selection
- Closed