Bug 476362 - Alt+Tab doesn't register if a menu is currently showing
Summary: Alt+Tab doesn't register if a menu is currently showing
Status: RESOLVED FIXED
Alias: None
Product: kwin
Classification: Plasma
Component: tabbox (show other bugs)
Version: 5.27.9
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-10-31 11:24 UTC by John Veness
Modified: 2023-10-31 12:24 UTC (History)
1 user (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 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