Bug 476362

Summary: Alt+Tab doesn't register if a menu is currently showing
Product: [Plasma] kwin Reporter: John Veness <john.kde>
Component: tabboxAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: xaver.hugl
Priority: NOR    
Version First Reported In: 5.27.9   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description John Veness 2023-10-31 11:24:11 UTC
SUMMARY
If a menu is currently open, Alt+Tab will navigate through the menu options instead of switching between windows.

STEPS TO REPRODUCE
0. Open a few windows of any sort
1. Run System Settings
2. Click on the hamburger menu button once, to bring up the menu
3. Hold Alt
4. Press and release Tab while still holding Alt

OBSERVED RESULT
First item in the hamburger menu is highlighted. Subsequent presses of Tab (with Alt still held down) highlight subsequent menu items.

EXPECTED RESULT
The Alt+Tab switcher to appear, with the next window highlighted. Subsequent presses of Tab (with Alt still held down) to highlight subsequent windows. (I.e. "normal" Alt+Tab behaviour).

SOFTWARE/OS VERSIONS
Operating System: openSUSE Tumbleweed 20231029
KDE Plasma Version: 5.27.9
KDE Frameworks Version: 5.111.0
Qt Version: 5.15.11
Kernel Version: 6.5.9-1-default (64-bit)
Graphics Platform: X11
Processors: 4 × Intel® Core™ i5-7200U CPU @ 2.50GHz
Memory: 15.5 GiB of RAM
Graphics Processor: Mesa Intel® HD Graphics 620
Manufacturer: HP
Product Name: HP ProBook 450 G4
Comment 1 Zamundaaa 2023-10-31 12:24:31 UTC
This is an inherent problem with X11 - context menus grab all keys, so things like alt+tab and screen lockers don't work when you have one open, and that can't be fixed. On Wayland this behaves as you'd expect