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 695497 - testgtk: lack of key repeat
testgtk: lack of key repeat
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: Backend: Wayland
unspecified
Other Linux
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2013-03-09 15:57 UTC by Matthias Clasen
Modified: 2013-03-22 21:54 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
wayland: Fix key repeat (983 bytes, patch)
2013-03-22 21:46 UTC, Matthias Clasen
none Details | Review

Description Matthias Clasen 2013-03-09 15:57:29 UTC
Opening the panes example and hitting Shift-F8 to move the focus to the pane splitter makes it painfully obvious that there is no key repeat. You have to keep hitting the arrow keys again and again to move the splitter.
Comment 1 Thomas Wood 2013-03-22 16:07:27 UTC
Key repeat seems to work for me when using Weston with both the DRM backend and X backend. What environment were you using?
Comment 2 Matthias Clasen 2013-03-22 20:11:42 UTC
key repeat is not working here, for both 'a' in an entry or for arrows in the pane case mentioned above. The reason is probably that the key events seem to have some modifier set:

Gdk-Message: keyboard event, code 122, sym 122, string a, mods 0x10
Comment 3 Matthias Clasen 2013-03-22 20:15:56 UTC
Thats probably num-lock, which is really faulty on this thinkpad. I don't think it is right to blindly disable key repeat because some modifier is set, anyway.
Comment 4 Matthias Clasen 2013-03-22 21:46:15 UTC
Created attachment 239581 [details] [review]
wayland: Fix key repeat

Key repeat under X is not affected by modifiers. And on some systems
(e.g my Thinkpad), NumLock is permanently on, rendering key repeat
nonfunctional. This commit changes the Wayland backend to do
key repeat regardless of modifiers.
http://bugzilla.gnome.org/show_bug.cgi?id=695497