summaryrefslogtreecommitdiffstats
path: root/src/webenginequick/api/qquickwebengineview.cpp
diff options
context:
space:
mode:
authorAnu Aliyas <anu.aliyas@qt.io>2024-09-12 13:35:53 +0200
committerAnu Aliyas <anu.aliyas@qt.io>2024-09-12 17:06:40 +0200
commit0dcf9312f9a5cfa87d0392a5c4ddc2d0ebec775e (patch)
tree1dcf15c5b9712a8b329ee631bcc6c2a8444b3e86 /src/webenginequick/api/qquickwebengineview.cpp
parent60befab9bee138f69869ae9510ea9fd336a52f80 (diff)
Fixup pinch gesture event handling
The current gesture pinch event handling requires the needs_wheel_event to be set. When the gesture event is created, it is set to true, so that the input router knows to offer the event to the renderer as a wheel event. Once the wheel event is acknowledged, needs_wheel_event is set to false and the event is resent. When the input router receives it the second time, it knows to send the real gesture event to the renderer. Qt webengine creates pinch begin and end events with needs_wheel_event set to true, but the same is missing for update event. The event resent logic is also missing. This can be done from RenderWidgetHostViewQt::GestureEventAck() by calling ForwardTouchpadZoomEventIfNecessary(). Pick-to: 6.8 6.7 Change-Id: I52da137c69da494f497bcd112fcdd466eb08281b Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'src/webenginequick/api/qquickwebengineview.cpp')
0 files changed, 0 insertions, 0 deletions