Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
6.1.1, 6.2
-
None
Description
Regression from Qt 6.0 to 6.2: Clients running inside a QtWayland-based compositor that uses WaylandMouseTracker, will receive one enter and one leave event for each mouse move. This can be reproduced by running the attached enterleave.qml as a wayland client against the pure-qml example compositor. This issue also causes visible flickering when running e.g. qtbase/examples/widgets/widgets/calculator inside pure-qml.
This issue does not only happen on the client side. It also seems to happen inside the compositor, with QML items that are part of server side decorations.
Update: There seems to be two separate issues:
- WaylandCursorItem has an item for the drag icon. This item gets an extra enter/leave for each mouse event. This is easily fixed by disabling input events for the corresponding WaylandQuickItem. This is a compositor-side problem.
- With the attached enterleave.qml, there are occasional events with a different position. This is a client side issue, since it can also be reproduced when running on Weston
Attachments
For Gerrit Dashboard: QTBUG-94580 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
355525,4 | Make sure cursor drag icon does not get enter/leave events | dev | qt/qtwayland | Status: MERGED | +2 | 0 |
357141,2 | Make sure cursor drag icon does not get enter/leave events | 6.2 | qt/qtwayland | Status: MERGED | +2 | 0 |