diff options
author | Shawn Rutledge <shawn.rutledge@qt.io> | 2023-12-27 21:08:40 -0700 |
---|---|---|
committer | Shawn Rutledge <shawn.rutledge@qt.io> | 2023-12-28 15:44:24 -0700 |
commit | ff4c2c311f1957ebacb66f0d35406a51da2a544e (patch) | |
tree | 659c557d97da89f3f073a6afa534bc3047c02fab /src/qml/parser/qqmljs.g | |
parent | 57f5f462fcd6ed48fab49041d82edd65cf9138c5 (diff) |
Ensure that HoverHandler reacts if a touchpoint moves out of bounds
We rely on QQuickDeliveryAgentPrivate::flushFrameSynchronousEvents()
mostly, but it doesn't get invoked without a window update request.
So there is a special case when a touchpoint moves _out_ of an item
that has a HoverHandler but is not reacting to touch in other ways:
we just need to send another artificial hover event for each touchpoint
to each hovered item to inform handlers about the new hover position.
Fixes: QTBUG-120346
Pick-to: 6.2 6.5 6.6 6.7
Change-Id: I479362a2663943eb495fe0be418009165c7134bd
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Santhosh Kumar <santhosh.kumar.selvaraj@qt.io>
Diffstat (limited to 'src/qml/parser/qqmljs.g')
0 files changed, 0 insertions, 0 deletions