https://bugs.kde.org/show_bug.cgi?id=492116
Bug ID: 492116 Summary: meta-tab to switch windows then escape enters tabs in XWayland editors Classification: Plasma Product: kwin Version: 6.1.4 Platform: Arch Linux OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: input Assignee: kwin-bugs-n...@kde.org Reporter: w...@toki.la Target Milestone: --- SUMMARY I have meta-tab bound to the window switcher in KDE Plasma. When I press escape after tabbing to another window (or the same one wrapping around), the number of tabs that I pressed are inserted into the focus of the original window. STEPS TO REPRODUCE 1. Launch an editor **that runs under XWayland**, for example VS Code. Open a new editor window. 2. Open at least *two* different application windows. Go back to VS Code. 3. meta-tab-tab to the next-next window. Before releasing the meta key but after releasing the tab key, press escape. OBSERVED RESULT A tab is inserted into VS Code. This stacks with additional tabs (before releasing meta). It also works with shift+tab (upon which shift+tab are entered). EXPECTED RESULT No tabs are inserted into VS Code. SOFTWARE/OS VERSIONS Linux/KDE Plasma: 6.6.46-lts KDE Plasma Version: 6.1.4 KDE Frameworks Version: 6.5.0 Qt Version: 6.7.2 ADDITIONAL INFORMATION This only appears to happen under XWayland. I tested this against the Helix text editor, running in Kitty, running in XWayland, and observed the behavior. I then changed Kitty's configuration settings to run natively under Wayland and the behavior did not occur. Similarly, VS Code is running under XWayland. It does not happen in `<textarea>` boxes in my Firefox (like this one), which is running natively under Wayland. (this is all tested with xeyes.) I am not sure if this is a recent regression. I only noticed it upon updating to kwin 6.1.4, and I press escape from meta-tabbing a lot. However: I also recently switched to an editor running under XWayland (VS Code) - my previous one (Sublime) ran natively. (so it's probably not a recent regression.) I would suspect this is not necessarily unique to the window switcher, though it could be. I don't have any other commands which I could "escape" from to test with, though. -- You are receiving this mail because: You are watching all bug changes.