Bug 468163 - "Walk through windows" only switches between the current window and one other one
Summary: "Walk through windows" only switches between the current window and one other...
Status: CONFIRMED
Alias: None
Product: kwin
Classification: Plasma
Component: tabbox (show other bugs)
Version: 5.27.3
Platform: Slackware Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
: 492958 (view as bug list)
Depends on:
Blocks:
 
Reported: 2023-04-05 07:59 UTC by Wen-Wei Kao
Modified: 2024-12-13 15:56 UTC (History)
4 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 Wen-Wei Kao 2023-04-05 07:59:12 UTC
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.
Comment 1 Nate Graham 2023-04-05 15:28:22 UTC
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.
Comment 2 spamless.9v5xj 2024-08-08 19:10:09 UTC
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.
Comment 3 kderocks38 2024-12-13 15:56:18 UTC
*** Bug 492958 has been marked as a duplicate of this bug. ***