| Summary: | Long press Tab + Alt triggers window switching when it should not | ||
|---|---|---|---|
| Product: | [Plasma] kwin | Reporter: | d0048 <d0048> |
| Component: | tabbox | Assignee: | KWin default assignee <kwin-bugs-null> |
| Status: | REPORTED --- | ||
| Severity: | normal | CC: | nate |
| Priority: | NOR | Flags: | nate:
Wayland-
nate: X11+ |
| Version First Reported In: | 5.24.3 | ||
| Target Milestone: | --- | ||
| Platform: | openSUSE | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
Cannot reproduce on Wayland. |
SUMMARY By default, Alt+Tab binds to window switching, and Tab+Alt binds to nothing. However, only short press Tab+Alt does nothing as expected, but holding down Tab longer, and pressing Alt erroneously bring up the window-switch UI. This is especially annoying in full-screen games requiring the user to keep holding tab, and use alt to interact with in-game mechanics. Note: Using Kwin on Xorg. STEPS TO REPRODUCE 1. Open a Konsole. I will use simple `xdotool` script to make this consistent, but one can trigger the same with manual input. 2. These following inputs have inconsistent behavior: 1. Hold Alt for 0.1 sec, then Tab, window switched - `xdotool keydown Alt; sleep 0.1; xdotool keydown Tab; sleep 0.1; xdotool keyup Alt; xdotool keyup Tab` 2. Hold Tab for 0.1 sec, then Alt, window NOT switched - `xdotool keydown Tab; sleep 0.1; xdotool keydown Alt; sleep 0.1; xdotool keyup Alt; xdotool keyup Tab` 3. Hold Tab for 2.0 sec, then Alt, window switched (inconsistent behavior) - `xdotool keydown Tab; sleep 2; xdotool keydown Alt; sleep 0.1; xdotool keyup Alt; xdotool keyup Tab` ^ This might take a few tries to trigger. It triggers over 50% of the time for me. OBSERVED RESULT Short Tab+Alt and holding Tab, then press Alt have inconsistent shortcut behavior. Also, Tab+Alt should not trigger the same shortcut as Alt+Tab in the first place. EXPECTED RESULT Ideally, Tab+Alt should not trigger the same shortcut as Alt+Tab. At least, the duration of holding Tab should not affect the behavior of pressing Tab after. SOFTWARE/OS VERSIONS Linux/KDE Plasma: Opensuse Tumbleweed KDE Plasma Version: 5.24.3 KDE Frameworks Version: 5.92.0 Qt Version: 5.15.2 ADDITIONAL INFORMATION This might also happen to other 2-key short-cuts?