Bug 492272 - Incorrect keypresses pased trough to some applications with Alt+Tab+Tab+...
Summary: Incorrect keypresses pased trough to some applications with Alt+Tab+Tab+...
Status: RESOLVED DUPLICATE of bug 484992
Alias: None
Product: kwin
Classification: Plasma
Component: tabbox (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-08-27 14:31 UTC by contact
Modified: 2024-08-27 14:47 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 contact 2024-08-27 14:31:46 UTC
SUMMARY
When pressing Alt+Tab+Tab multiple times to switch between more than two Windows and switching form either Godot and Vscodium, incorrect input events will be passed to these applications, generating undesired indents.

STEPS TO REPRODUCE
Godot:
1. Open two Windows
2. Create a new blank Project
3. Create a new script file using the file explorer in the bottom left window and and clicking the Create Button on the Popup. 
4. Open the Script file (Double Click)
5. Hold The alt key while pressing Tab Multiple Times to switch to a different Window
6. Go Back to Godot
OBSERVED: There is now an unwanted indentation.

Vscodium:
1. open multiple windows
2. create a new script file: test.py
3. open the file using VsCodeium
4. Hold The alt key while pressing Tab Multiple Times to switch to a different Window
5. go back to vscodium
OBSERVED: There is now an unwanted indentation.

SOFTWARE/OS VERSIONS
Operating System: NixOS 24.11
KDE Plasma Version: 6.1.4
KDE Frameworks Version: 6.5.0
Qt Version: 6.7.2
Kernel Version: 6.10.6 (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 7840HS w/ Radeon 780M Graphics
Memory: 30.7 GiB of RAM
Graphics Processor: AMD Radeon 780M
Manufacturer: Framework
Product Name: Laptop 16 (AMD Ryzen 7040 Series)
System Version: AG

ADDITIONAL INFO:
not reproducible with Kate
Testes this in many other applications (Blender, Element Desktop, Firefox, Telegram, blender, System Settings ...) and these two Apps seem to be outliers.

I created a [bug in the godot git](https://github.com/godotengine/godot/issues/96006) because i first did not manage to find a single other application with the same issue until I realized it also happens with vscodium.
Comment 1 duha.bugs 2024-08-27 14:47:03 UTC
This will be fixed with plasma 6.2.

As a workaround you can set the the legacy X11 global shortcuts to never.

*** This bug has been marked as a duplicate of bug 484992 ***