Bug 492958 - kcm_keys allows setting multiple Walk Through Windows/Task Switcher shortcuts, but only one can be pressed multiple times in sequence
Summary: kcm_keys allows setting multiple Walk Through Windows/Task Switcher shortcuts...
Status: RESOLVED DUPLICATE of bug 468163
Alias: None
Product: kwin
Classification: Plasma
Component: tabbox (show other bugs)
Version: 5.27.8
Platform: Ubuntu Linux
: NOR minor
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
: 493563 (view as bug list)
Depends on:
Blocks:
 
Reported: 2024-09-10 19:54 UTC by kderocks38
Modified: 2024-12-13 15:56 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description kderocks38 2024-09-10 19:54:01 UTC
SUMMARY
Shortcut used to replace alt-tab to navigate through windows limits itself to the next window not allowing to switch to a window 2,3,4.. position further

STEPS TO REPRODUCE
1. Assign a shortcut to switch to next window(in French "naviguer parmis les fenêtres"), default shortcut is Alt-Tab
2. Use the short cut which will open the window navigation pane
3. Press the second key of the shortcut again(the one which replaced the "Tab" key)



OBSERVED RESULT
 When using the new shortcut the window navigation pane opens  but you can only switch to the direct next window but not to a window 2, 3, 4 position further

EXPECTED RESULT
Normal behavior : With Alt-Tab, once the pane is open you press on TAB and there is no limitation to which window it will switch.


SOFTWARE/OS VERSIONS
Windows: 
macOS: 
(available in the Info Center app, or by running `kinfo` in a terminal window)
Linux/KDE Plasma: kubuntu plasma, wayland
KDE Plasma Version: 5.27.8
KDE Frameworks Version: 5.11 
Qt Version: 5.15.10

ADDITIONAL INFORMATION
Comment 1 cwo 2024-09-12 14:40:11 UTC
This depends a bit on the precise shortcut you are planning to set.

If you are trying to use a shortcut that does not contain a modifier key (Alt, Meta, etc), this issue is tracked in bug 468163.

But as you are talking about pressing a second key, I'll assume you are using a modifier+regular key shortcut.

You need to uncheck the default Alt-Tab shortcut for this to work. If you set the keyboard shortcut using the Window Management > Task Switcher configuration page, it will do it automatically for you. If you set a custom keyboard shortcut in kcm_keys, only the first one will cycle through all tasks; this is the default shortcut if that one is checked, or the first custom shortcut that is in the list there. All others will only trigger once, but as you described you can't press them again to cycle through the list.

I've replicated this in Plasma 5.27 and git master. I'm not sure where the correct fix for this is, but I'll put it in the tabbox component for now as that's where the other bug is filed and these seem related.
Comment 2 kderocks38 2024-09-13 10:54:20 UTC
Hi cwo,

Thank you for the detailed explanation !
    " I'll assume you are using a modifier+regular key shortcut."
You are right, I could have precised it, I use Alt + Spacebar and also CTRL + Spacebar

      "I'll put it in the tabbox component for now as that's where the other bug is filed and these seem related."
Thanks a lot !
Comment 3 cwo 2024-09-24 10:43:46 UTC
*** Bug 493563 has been marked as a duplicate of this bug. ***
Comment 4 kderocks38 2024-12-13 15:56:18 UTC
*** This bug has been marked as a duplicate of bug 468163 ***