SUMMARY *** NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols. See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports *** If the Alt-Tab window switching ("Walk through windows") is only mapped to one key (e.g. the function keys) from the shortcut settings, it only switches back and forth between the two windows most recently opened, instead of circling through all the windows. On the contrary, assigning "Walk through windows (reverse)" to one key correctly walks through all windows in reverse order. STEPS TO REPRODUCE 1. In Settings → Shortcuts → KWin, assign a single key to "Walk through windows" (e.g. F3) 2. Apply and press the key OBSERVED RESULT It only switches between the most recently opened two windows. EXPECTED RESULT Pressing the key walks through all windows. SOFTWARE/OS VERSIONS Linux/KDE Plasma: 5.27.3 KDE Plasma Version: 5.27.3 KDE Frameworks Version: 5.104.0 Qt Version: 5.15.8 ADDITIONAL INFORMATION Please move this to the correct category if this is the wrong one. This is my first time reporting bugs and I chose it only based on the description :) Also I hope the summary doesn't come off as offending, I don't mean it.
Can reproduce. The issue is also seen when assigning any non-default shortcut to the action in the Shortcuts KCM, not just when it's a one-key shortcut.
In my experimentation this bug can be observed even with the default Alt+Tab provided you press and release both keys. In order to trigger the cycle/walk the shortcut needs to involve a modifier key be it Meta, Ctrl, Alt and that you hold down said modifier key. Related, but it'd be nice if the visualisation that shows all windows would pop up for a second so there's indication how many times I still need to mash the key to get to the window I want.
*** Bug 492958 has been marked as a duplicate of this bug. ***