diff options
author | Shawn Rutledge <shawn.rutledge@qt.io> | 2025-06-23 21:25:04 +0200 |
---|---|---|
committer | Shawn Rutledge <shawn.rutledge@qt.io> | 2025-08-13 19:42:10 +0200 |
commit | 4a88ed088394d3275b43df3e628a5784c720995e (patch) | |
tree | d4b089ee6c9de684330306f3755cc2abe4abc69f /src/qml/jsapi/qjsmanagedvalue.cpp | |
parent | 32fee0f693fcdac55160b720ca054f91fbcd0544 (diff) |
For applications running under Qt Wayland compositors, touch events may
be accompanied by fake mouse moves coming from the touchscreen device.
That might or might not be useful: but since most of Qt Quick ignores
such stray mouse moves, and PinchHandler was getting deactivated by
them, we now make an effort to avoid delivering them to PinchHandler
after it has become the exclusive grabber of those touchpoints (which
looks the same as being the grabber of "that" mouse).
Added a reminder to the handlePointerEvent() comment that tablet events
are different: hover events are not enough, in fact we need to deliver
TabletMove events to HoverHandler so that it has a chance to change the
cursor (i.e. keep the tst_HoverHandler::deviceCursor test working).
Pick-to: 6.8 6.9 6.10
Fixes: QTBUG-123985
Change-Id: I513caf277e2fb87401b3e0bb5547f9623467b423
Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@qt.io>
Diffstat (limited to 'src/qml/jsapi/qjsmanagedvalue.cpp')
0 files changed, 0 insertions, 0 deletions