GNOME Bugzilla – Bug 779374
Unprovoked key repeat in gnome-terminal after in 3.22.9
Last modified: 2017-03-01 15:14:19 UTC
After updating gtk3 to gtk3-3.22.9-1.fc26.x86_64.rpm gnome-terminal tends ro randomly get in a key repeat state following some key combination involving creating a new terminal window (like C-shift-n, or a global shell shortcut starting a new terminal). Not really reproducible 99% of the time.
I suspect a race condition with the compositor, as this is triggered when a key combo opens a new window.
Created attachment 346921 [details] [review] [PATCH RFC] wayland: make sure to clear up the number of keys Can you try to reproduce with the attached patch? -- Make sure to clear up the number of keys being pressed on enter/leave so that we don't end up with leftovers if a new window is mapped by a keyboard shortcut.
I've been running with attachment 346921 [details] [review] for the last few hours and it hasn't happened whereas before it happened in a matter of minutes. I'll consider it a success
Comment on attachment 346921 [details] [review] [PATCH RFC] wayland: make sure to clear up the number of keys Looks obviously correct, since we won't get key release events on focus change. All leave event must indeed reset buttons/keys state.
Comment on attachment 346921 [details] [review] [PATCH RFC] wayland: make sure to clear up the number of keys attachment 346921 [details] [review] pushed to git master as commit bbf7c6a - wayland: make sure to clear up the number of keys attachment 346921 [details] [review] pushed to branch gtk-3-22 as commit aebe3a7 - wayland: make sure to clear up the number of keys