Missing pointer_leavel and pointer_enter in some cases
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.
I reported this to Qt, but got no response