Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 244c5b6e769134cfd171c4e3f40c08836d597bbc
https://github.com/WebKit/WebKit/commit/244c5b6e769134cfd171c4e3f40c08836d597bbc
Author: Adrian Perez de Castro <[email protected]>
Date: 2026-03-04 (Wed, 04 Mar 2026)
Changed paths:
M Source/WebKit/UIProcess/API/wpe/WPEWebViewPlatform.cpp
Log Message:
-----------
[WPEPlatform] Paper over non-zero deltas on drag gestures
https://bugs.webkit.org/show_bug.cgi?id=309155
Reviewed by Carlos Garcia Campos.
Drag gestures may include an undesired jump when the touch-up event used
to detect the end of the gesture does not report the same (x,y) position
as the last touch-move event before it, due to having non-zero deltas.
The requirement to have the same exact position reported can be lifted
by resetting the deltas when the end of the gesture is detected. This
makes tracking positions easier for platform implementations and makes
e.g. drag-scrolling less likely to have accidental jitter.
* Source/WebKit/UIProcess/API/wpe/WPEWebViewPlatform.cpp:
(WKWPE::ViewPlatform::handleGesture): Reset deltas at the end phase
of a drag gesture.
Canonical link: https://commits.webkit.org/308625@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications