Bug 232701

Summary: [GTK] Pressing "End" keyboard key on instagram.com leads to endless flickering scrolling
Product: WebKit Reporter: Andre Klapper <a9016009>
Component: WebKitGTKAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Normal CC: aperez, bugs-noreply, Hironori.Fujii
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Screencast video of problem (particularly blurred for privacy) none

Description Andre Klapper 2021-11-04 01:40:35 PDT
Created attachment 443284 [details]
Screencast video of problem (particularly blurred for privacy)

Upstreaming from https://gitlab.gnome.org/GNOME/epiphany/-/issues/1614

epiphany-41.0-1.fc35.x86_64 and webkit2gtk3-2.34.1-2.fc35.x86_64

1. Log into Instagram.com
2. Press `End` key on keyboard to, in theory, scroll down.

Results:
Due to "endless scrolling" on such pages, sometimes (often, but not always) this leads to endless flickering (see the scroll bar on the side) and the only way out is to reload the page. Note that I did nothing else here than pressing the `End` key once.
Comment 1 Adrian Perez 2021-11-04 02:48:02 PDT
This was happening to me as well in other sites, like for example pull
request reviews in GitHub, but it was fixed in trunk already. After doing
a bit bisecting I found out that this was fixed in bug #229733 combined
with the follow-up from bug #229784

I have merged already the patches to the 2.34 stable releases branch:

  https://trac.webkit.org/wiki/WebKitGTK/2.34.x#Proposedmergesfor2.34.2

The next release (2.34.2) will include the fixes. In the meantime, if you
have the possibility, you can apply these two patches on top of the 2.34.1
release and rebuild WebKitGTK:

  https://trac.webkit.org/changeset/284974/webkit?format=diff&new=284974
  https://trac.webkit.org/changeset/284975/webkit?format=diff&new=284975

(Note that release tarballs don't have ChangeLog files nor include the
LayoutTests/ subdirectory, so parts of the patches will fail to apply;
that's expected.)
Comment 2 Adrian Perez 2021-11-04 02:48:52 PDT
By the way, if the issue persists with the two patches I suggested applied,
or after WebKitGTK 2.34.2 is release, by all means please reopen this issue :)

*** This bug has been marked as a duplicate of bug 229733 ***
Comment 3 Fujii Hironori 2021-11-04 13:03:41 PDT
See also: Bug 229697 – keyboard scrolling spring damping animation doesn't finish and leads to endless flickering scrolling