Bug 359206

Summary: kwin takes control over shortcut input and does not allow for "unshifting"
Product: [Frameworks and Libraries] frameworks-kwindowsystem Reporter: jat255
Component: generalAssignee: Martin Flöser <mgraesslin>
Status: RESOLVED WORKSFORME    
Severity: normal CC: butirsky, kdelibs-bugs, likivik, thomas.luebking
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
See Also: https://bugs.kde.org/show_bug.cgi?id=392961
https://bugs.kde.org/show_bug.cgi?id=359141
Latest Commit: Version Fixed In:

Description jat255 2016-02-09 23:31:00 UTC
See discussion in https://bugs.kde.org/show_bug.cgi?id=359141

When attempting to use a shortcut like Alt+` and Alt+Shift+` for "Walk through windows" (and it's reverse), the behavior is not as expected. The following behavior results:

 * Single Alt+` press: Kwin advances by one application 
 * Multiple Alt+` presses: Kwin cycles through the windows in the forward direction as expected
 * Single Alt+Shift+` press: Kwin goes back by one application
 * Multiple Alt+Shift+` presses: Kwin goes backwads one time, then cycles through windows in the forward direction
 * Single Alt+` press followed by Alt+Shift+` presses: Kwin goes forward, and continues going forward
 * Single Alt+Shift+` press followed by Alt+` presses: Kwin goes backwards once, then goes forward

Per Thomas Lübking, this is a bug in kwin.

Reproducible: Always

Steps to Reproduce:
1. Set Walk through windows shortcut to Alt+`
2. Set Walk through windows (reverse) shortcut to Alt+Shift+` (Alt+~)
3. Try to use both shortcuts, and it won't work


Expected Results:  
Alt+tab behavior works as expected, but using Alt+` and Alt+~
Comment 1 jat255 2016-03-08 16:07:57 UTC
Has anyone looked at this? It's been a month since this was reported. The bug was confirmed by a developer here: https://bugs.kde.org/show_bug.cgi?id=359141

Anything I can do to help push this along?
Comment 2 Thomas Lübking 2016-03-08 16:14:34 UTC
The actual bug is in kwindowsystem; the qt-x11 translation needs to pick the code from kglobalaccel and latter than use the kwindowsystem lib code.
Comment 3 jat255 2016-03-24 14:43:51 UTC
Thanks again for the confirmation, Thomas.

Should I file a different bug so this reaches the right person, or will this one suffice? This has been quite an aggravating problem and would love to help get it fixed.
Comment 4 Likivik 2018-10-03 16:08:30 UTC
Can confirm this.

Plasma 5.13.4
KDE Frameworks 5.48.0
Comment 5 Andrey 2021-06-09 16:39:00 UTC
Couldn't reproduce, it might be fixed along with bug 359141.
Please, confirm.