After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 765567 - wayland: avoid jitter in keyboard repeat
wayland: avoid jitter in keyboard repeat
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: .General
unspecified
Other All
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2016-04-26 01:11 UTC by Christian Hergert
Modified: 2016-04-26 01:29 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
wayland: avoid jitter in keyboard repeat (1.91 KB, patch)
2016-04-26 01:11 UTC, Christian Hergert
committed Details | Review

Description Christian Hergert 2016-04-26 01:11:26 UTC
**
On my more larger of monitors, I still have some frame jumps to resolve, but
this at least allows the rapid scroll via key-press to stay stable even though
we have dropped/missed frames.
**
Comment 1 Christian Hergert 2016-04-26 01:11:31 UTC
Created attachment 326718 [details] [review]
wayland: avoid jitter in keyboard repeat

When synthesizing keyboard repeat, we can potentially drift further from
the mark depending on the timing of the frame callback and how long it
took to deliver the event.

This patch attempts to reduce this by tracking from a stable epoch the
time of our next keyboard repeat.
Comment 2 Matthias Clasen 2016-04-26 01:27:35 UTC
Review of attachment 326718 [details] [review]:

ok