Bug 419176 - Keyboard shortcut meta+tab only allows one tab per meta, while alt+tab allows repeated presses of tab
Summary: Keyboard shortcut meta+tab only allows one tab per meta, while alt+tab allows...
Status: RESOLVED FIXED
Alias: None
Product: kwin
Classification: Plasma
Component: tabbox (show other bugs)
Version: 5.18.3
Platform: Manjaro Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-03-24 10:27 UTC by Clarence Risher
Modified: 2024-04-11 15:45 UTC (History)
5 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Clarence Risher 2020-03-24 10:27:06 UTC
SUMMARY
I am setting up my Alternative task switcher shortcuts to use meta+tab and meta+shift+tab, similar to Gnome. This has brought to my attention that this combination does not function equivalently to alt+tab, instead allowing only a single press of tab per press of meta.

STEPS TO REPRODUCE
1. Set keyboard shortcut for Walk Through Windows (Forward) to meta+tab
2. press meta
3. press tab
4. release tab
5. press tab
6. release tab
7. release meta

OBSERVED RESULT
second press of tab has no effect

EXPECTED RESULT
second press of tab should walk to the next window again, similar to the behavior if this shortcut was alt+tab

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Arch Linux
(available in About System)
KDE Plasma Version: 5.18.3
KDE Frameworks Version: 5.68.0
Qt Version: 5.14.1
Comment 1 Vlad Zahorodnii 2020-03-24 11:53:11 UTC
Wayland or X11?
Comment 2 Clarence Risher 2020-03-24 17:11:33 UTC
X11
arch package xorg-server version 1.20.7-1
Comment 3 ndesroches88 2020-08-22 20:54:45 UTC
I was having the same issue on Manjaro, setting the shortcut then rebooting fixed it for me.
Comment 4 Henrique Sant'Anna 2021-02-08 19:57:37 UTC
I can confirm that once set the shortcut Meta + Tab for Task Switcher (Main or Alternative) it will change between windows only once, no matter the effect selected for the switcher.

And I can confirm that restarting computer (comment3) will fix the issue and, from that, Meta + Tab will than work to change between windows multiple times, as expected.


SOFTWARE/OS VERSIONS
- Linux: 5.4.94-1-lts
- KDE Plasma Version: 5.20.5 (X11 session)
- KDE Frameworks Version: 5.78.0
- Qt Version: 5.15.2
Comment 5 Henrique Sant'Anna 2021-05-20 02:12:51 UTC
Tested with Plasma 5.21.5 (Wayland), still an issue.

If I change the shortcut it only works for changing one window.
If I change the shortcut back to the old value it works multiple times in sequence, for changing between multiple windows.

Restarting will fix the behavior for a new set shortcut.
Comment 6 Andrei Rybak 2023-10-07 17:04:44 UTC
I use:

- Meta+Tab for "Walk Through Windows Alternative" 
- Meta+Shift+Tab for "Walk Through Windows Alternative (Reverse)"

Regardless of the animation selected in dropdown "System Settings > Workspace > Window Management > Task Switcher > Alternative > Visualisation", for me, Meta+Tab works fine, but Meta+Shift+Tab only works _once_ (can change only to the immediately previous window) and only when it is pressed _first_ (i.e. pressing the reverse after Meta+Tab doesn't do anything).

Version info:

Operating System: KDE neon 5.27
KDE Plasma Version: 5.27.8
KDE Frameworks Version: 5.110.0
Qt Version: 5.15.10
Kernel Version: 6.2.0-31-generic (64-bit)
Graphics Platform: Wayland
Processors: 8 × Intel® Core™ i5-8250U CPU @ 1.60GHz
Memory: 31.2 GiB of RAM
Graphics Processor: Mesa Intel® UHD Graphics 620
Manufacturer: Dell Inc.
Product Name: Inspiron 5570
Comment 7 fanzhuyifan 2024-04-11 15:45:31 UTC
This no longer seems to happen as of plasma 6.0 on either x11 or wayland, so marking as fixed.