Created attachment 171094 [details] GIF of the Bug SUMMARY When Alt+Tab is pressed, the current window doesn't get out of focus and when Alt+tab+tab is pressed, one tab will be registered on the current window. If tab is pressed N times with Alt key, the current window will register N-1 times of tabs. STEPS TO REPRODUCE (Please find the attached GIF) 1. Open 3–4 applications 2. If one application is a text editor, place the cursor in between text, and press Alt+tab, without leaving the Alt key. EXPECTED RESULT The current window should immediately get out of focus when Alt+tab is pressed. SOFTWARE/OS VERSIONS Linux/KDE Plasma: Fedora 40 KDE Plasma Version: 6.1.1 KDE Frameworks Version: 6.3.0 Qt Version: 6.7.1 Kernel Version: 6.8.11-300.fc40.x86_64 (64-bit) Graphics Platform: Wayland ADDITIONAL INFORMATION I tested with different Windows activation policy and visualization options, the bug remained consistent. I observed this bug after updating from Fedora 39 to 40.
Can reproduce in XWayland apps only. If I turn off key snooping in the XWayland app permission KCM, the issue goes away. But any higher setting will trigger the bug. Looks like changing the default value exposed this bug, which may have been pre-existing.
*** This bug has been marked as a duplicate of bug 484992 ***
*** Bug 492037 has been marked as a duplicate of this bug. ***
*** Bug 492116 has been marked as a duplicate of this bug. ***
*** Bug 492361 has been marked as a duplicate of this bug. ***
*** Bug 493221 has been marked as a duplicate of this bug. ***
*** Bug 493386 has been marked as a duplicate of this bug. ***