[Webkit-unassigned] [Bug 225764] New: [GTK] Wrong smooth animation sometimes with non-async scrolling
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu May 13 06:33:44 PDT 2021
https://bugs.webkit.org/show_bug.cgi?id=225764
Bug ID: 225764
Summary: [GTK] Wrong smooth animation sometimes with non-async
scrolling
Product: WebKit
Version: WebKit Nightly Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Keywords: Gtk
Severity: Normal
Priority: P2
Component: WebKitGTK
Assignee: webkit-unassigned at lists.webkit.org
Reporter: cgarcia at igalia.com
CC: bugs-noreply at webkitgtk.org
This is easy to reproduce with epiphany, opening the browser with a several of tabs. Then go tab by tab scrolling and some of them don't scroll properly, the smooth animation is wrong. This is happening because sometimes when the scrollbars are added to the scroll view, the contents size hasn't been updated yet, so that values saved by ScrollAnimationSmooth::updateVisibleLengths() are 0x0. After that the updateVisibleLengths() is not called again when the contents size is updated, so scroll happens with the wrong visible lengths. This doesn't happen with async scrolling because updateVisibleLengths() is called every time layers are repositioned. For non-async scrolling it should be enough to update visible lengths when he contents size changes.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20210513/5a4c0e03/attachment-0001.htm>
More information about the webkit-unassigned
mailing list