[Wayland-bugs] [Bug 778019] Key repeat under wayland behaves differently, making keyboard navigation e.g. in vim annoyingly unreliable
gtk+ (GNOME Bugzilla)
bugzilla at gnome.org
Thu Feb 2 09:49:52 UTC 2017
https://bugzilla.gnome.org/show_bug.cgi?id=778019
--- Comment #2 from Olivier Fourdan <ofourdan at redhat.com> ---
Created attachment 344764
--> https://bugzilla.gnome.org/attachment.cgi?id=344764&action=edit
[PATCH] wayland: do not cancel key repeat on key press
The key repeat is stopped as soon as a key is pressed, so if the user
quickly presses a key while another is already pressed and being
repeated, key repeat gets cancelled:
- key1 press
- key1 repeat
- key2 press -> key1 repeat stopped
- key1 release
- key 2 is not repeated even though it's kept depressed
This is a different behavior from X11, which confuses migrating users.
To mimic the X11 behavior, keep track of the number of keys pressed
simultaneously and cancel key repeat only when none is pressed.
This way, if a user pressed a key while another one is being repeated,
the new key press can possibly be repeated as well.
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/wayland-bugs/attachments/20170202/3920a219/attachment-0001.html>
More information about the wayland-bugs
mailing list