Bug 372807 - Key press is repeated when new xwayland client/window shows up
Summary: Key press is repeated when new xwayland client/window shows up
Status: RESOLVED UPSTREAM
Alias: None
Product: kwin
Classification: Plasma
Component: wayland-generic (show other bugs)
Version: git master
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-11-22 19:43 UTC by Kai Uwe Broulik
Modified: 2016-11-23 06:32 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kai Uwe Broulik 2016-11-22 19:43:19 UTC
I haven't fully figured this out yet but when I press a keyboard shortcut such as Ctrl+N in a Chrome window, I end up opening multiple windows if I'm not careful to press the key only very briefly. Something similar happens in Kolourpaint:
1.) open kolurpaint4
2.) double click a color in the palette and change a color there
3.) close kolourpaint window
-> it will wask for whether you want to save
4.) press Tab so the "Discard" button is focused (mnemonic Alt+D is unfortunately taken by Show desktop)
5.) Now hit return
It will suddenly popup a "Save Palette As" window, as by pressing return we accidentally confirmed the subsequent confirmation whether we want to save the custom palette to a file.

Another simpler way I just discovered is:
1.) start kwrite with platform xcb
2.) Press and hold Ctrl+N
-> you'll spawn a ton of new windows

If you do the same in kwrite with wayand, one single new window will appear and the shortcut won't trigger endlessly.

(Don't tell me this is yet again an Xwayland 1.18 issue :(
Comment 1 Martin Flöser 2016-11-23 06:32:21 UTC
fixed in XWayland 1.19