https://bugs.kde.org/show_bug.cgi?id=484992
Bug ID: 484992 Summary: Task Switcher does not get focus for XWayland windows and tab gets "forwarded" to original window Classification: Plasma Product: kwin Version: 6.0.3 Platform: Arch Linux OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: input Assignee: kwin-bugs-n...@kde.org Reporter: mailport+kdeb...@mikescher.com Target Milestone: --- # SUMMARY When the current focus in in an XWayland application/windows and I switch to the over-next window (by pressing Alt+Tab+Tab) the second tab will also be registered inside the application # STEPS TO REPRODUCE 1. Open a xwayland application (preferably one with a textarea input - for easier debugging). 2. Set the input focus into the textarea. 3. Press Alt+Tab+Tab to switch two windows further (aka HOLD-ALT PRESS-TAG PRESS-TAB RELEASE-ALT) 4. Go back to the original window and observe that one tab was pressed # OBSERVED RESULT The second tab of the Alt-Tab-Tab was forwarded (?) to the original window # EXPECTED RESULT The task-switcher should "swallow" the key presses (the first tab seems to be swallowed, but not all further presses) # SOFTWARE/OS VERSIONS KDE Plasma Version: 6.0.3 KDE Frameworks Version: 6.0.0 Qt Version: 6.6.3 Kernel Version: 6.8.2-arch2-1 (64-bit) Graphics Platform: Wayland # ADDITIONAL OBSERVATIONS - This only works in XWayland windows (confirmed in IntelliJ Goland, Webstorm, Bitwarden, MongoDB Compass, non-wayland-VSCodium) - In native Wayland applications I can't reproduce it (aka firefox, Dolphin, Konsole, ....) - The bug is not specific to the tab key, If I [HOLD-ALT] [Tab] [ARROW-DOWN] [ARROW-DOWN] [RELEASE-ALT], then the two arrow presses do also appear in the original application - The task-switcher behaves completely normal during all this - meaning both applications (teh task-switcher and the originally focused window) receive the key press - Does not happen when I switch to X11 - Does happen independent which task switcher I chose in the settings (tested "Modern Informative", Compact, "Thumbnail Grid") - It happens consistently, I can reproduce it every time I try -- You are receiving this mail because: You are watching all bug changes.