Branch: refs/heads/webkitglib/2.50
Home: https://github.com/WebKit/WebKit
Commit: 76b9a131c0369a6a92c584005d1eb2dacbab1989
https://github.com/WebKit/WebKit/commit/76b9a131c0369a6a92c584005d1eb2dacbab1989
Author: Vitaly Dyachkov <[email protected]>
Date: 2026-03-16 (Mon, 16 Mar 2026)
Changed paths:
M
Source/WebCore/page/scrolling/coordinated/ScrollingTreeScrollingNodeDelegateCoordinated.cpp
M
Source/WebCore/page/scrolling/coordinated/ScrollingTreeScrollingNodeDelegateCoordinated.h
Log Message:
-----------
Cherry-pick 309315@main (e7e61af4273f).
https://bugs.webkit.org/show_bug.cgi?id=309252
[WPE][GTK] Scrolling slowly with finger doesn't work
https://bugs.webkit.org/show_bug.cgi?id=309252
Reviewed by Carlos Garcia Campos.
When scrolling slowly with touch input, the delta values can be very
small. Rounding these small delta values to integers can cause the
scroll position to not update, which can make the scrolling feel
unresponsive.
This patch adds overridden `adjustedScrollPosition()` method of the
`ScrollingTreeScrollingNodeDelegateCoordinated` to return the original
position without rounding on WPE and GTK, allowing for smoother
scrolling even with small delta values.
*
Source/WebCore/page/scrolling/coordinated/ScrollingTreeScrollingNodeDelegateCoordinated.cpp:
(WebCore::ScrollingTreeScrollingNodeDelegateCoordinated::adjustedScrollPosition
const):
*
Source/WebCore/page/scrolling/coordinated/ScrollingTreeScrollingNodeDelegateCoordinated.h:
Canonical link: https://commits.webkit.org/309315@main
Canonical link: https://commits.webkit.org/298234.499@webkitglib/2.50
Commit: 948d7caeba4d19f2950230443a3c3b66ceac5b0e
https://github.com/WebKit/WebKit/commit/948d7caeba4d19f2950230443a3c3b66ceac5b0e
Author: Kate Lee <[email protected]>
Date: 2026-03-16 (Mon, 16 Mar 2026)
Changed paths:
M Source/WebCore/platform/ScrollingEffectsController.cpp
Log Message:
-----------
Cherry-pick 309048@main (6ccb1f5cd3dd).
https://bugs.webkit.org/show_bug.cgi?id=306243
[WPE][GTK] Fire scrollend event after kinetic scroll animation ends
https://bugs.webkit.org/show_bug.cgi?id=306243
Reviewed by Carlos Garcia Campos.
The scrollend event was not dispatched when touch scrolling completes on
platforms using ScrollAnimationKinetic (WPE, GTK).
In ScrollingEffectsController::scrollAnimationDidEnd(), the
didStopAnimatedScroll()
callback was only called for ScrollAnimationKeyboard and
ScrollAnimationSmooth,
but not for ScrollAnimationKinetic. This caused the scrollend event to not
fire
after kinetic (momentum) scrolling finished.
* Source/WebCore/platform/ScrollingEffectsController.cpp:
(WebCore::ScrollingEffectsController::scrollAnimationDidEnd):
Canonical link: https://commits.webkit.org/309048@main
Canonical link: https://commits.webkit.org/298234.500@webkitglib/2.50
Compare: https://github.com/WebKit/WebKit/compare/bb653dc458c5...948d7caeba4d
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications