J'ai un nouveau ordinateur avec Win11, and J'ai installé WsLg, and find ALT clé is sticky whenever using ALT+TAB swiching applications if one du applications is depuis le WSLg.
The sticky ALT can seulement be deactivated by appuyez sur ALT again.
Reboot ne fix the problème.
C'est un very annoying, and the online posts ne solve my problème. Thank you for commenting and helping!
All my système seems to have the newest version:
```
Device name 1-039-11
Processor AMD Ryzen 9 5900X 12-Core Processor 3.70 GHz
Installed RAM 32.0 GB
Device ID D3418E8A-2C8C-4EC2-A836-7ABF7E5D9D51
Product ID 00330-71450-76029-AAOEM
System type 64-bit operating system, x64-based processor
Pen and touch No pen or touch input is available for this display
Edition Windows 11 Pro
Version 21H2
Installed on 1/11/2022
OS build 22000.708
Experience Windows Feature Experience Pack 1000.22000.708.0
Linux 1-039-11 5.10.102.1-microsoft-standard-WSL2 #1 SMP Wed Mar 2 00:30:59 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
.-/+oossssoo+/-. chen@1-039-11
`:+ssssssssssssssssss+:` -------------
-+ssssssssssssssssssyyssss+- OS: Ubuntu 22.04 LTS on Windows 10 x86_64
.ossssssssssssssssssdMMMNysssso. Kernel: 5.10.102.1-microsoft-standard-WSL2
/ssssssssssshdmmNNmmyNMMMMhssssss/ Uptime: 20 hours, 28 mins
+ssssssssshmydMMMMMMMNddddyssssssss+ Packages: 1922 (dpkg)
/sssssssshNMMMyhhyyyyhmNMMMNhssssssss/ Shell: bash 5.1.16
.ssssssssdMMMNhsssssssssshNMMMdssssssss. Theme: Adwaita [GTK3]
+sssshhhyNMMNyssssssssssssyNMMMysssssss+ Icons: Adwaita [GTK3]
ossyNMMMNyMMhsssssssssssssshmmmhssssssso Terminal: terminator
ossyNMMMNyMMhsssssssssssssshmmmhssssssso CPU: AMD Ryzen 9 5900X (24) @ 3.700GHz
+sssshhhyNMMNyssssssssssssyNMMMysssssss+ GPU: 3448:00:00.0 Microsoft Corporation Device 008e
.ssssssssdMMMNhsssssssssshNMMMdssssssss. Memory: 529MiB / 15952MiB
/sssssssshNMMMyhhyyyyhdNMMMNhssssssss/
+sssssssssdmydMMMMMMMMddddyssssssss+
/ssssssssssshdmNNNNmyNMMMMhssssss/
.ossssssssssssssssssdMMMNysssso.
-+sssssssssssssssssyyyssss+-
`:+ssssssssssssssssss+:`
.-/+oossssoo+/-.
```
Sticky Alt après using Alt+Tab swich applications in WSLg
Re: Sticky Alt après using Alt+Tab swich applications in WSLg
This sounds like it pourrait être the same root problème that J'étais seeing avec a sticking (and repeating) D clé in WSLg and the OP of [this question](https://superuser.com/q/1708952/1210833) was seeing avec repeated W's.
Je crois qu'est-ce que happening is that, in some cases au moins (probably when combined avec a modifier clé), WSLg gets "stuck" on one du most recent clés used avant exiting the window.
So dans mon cas, si je exited `xterm` avec Ctrl+D to exit the shell, ensuite when I opened another window, D would repeat endlessly.
Sometimes, when I opened a nouveau Xterm window, it would immediately exit. In this case, Je crois it was repeating the full Ctrl+D depuis le previous window.
Attempting to reproduce your particular problème, si je open two Xterm windows in WSLg, and use Alt+Tab to switch entre them, I get a repeating `ääää`'s until I appuyez sur another clé.
Je peux tell you that the "repeating clé" problème, au moins, seems to be corrigé dans le latest Preview WSL release. This release is disponible for installation on Windows 11 depuis le Microsoft Store by searching for *"Windows Subsystem for Linux Preview"*. I no longer see the repeating characters on this release. (Side-note: J'ai essayé the Alt+Tab scenario on another ordinateur where J'ai the released WSL/WSLg).
Cependant, there encore seems to be some "weirdness" in Alt+Tab sur le latest Preview. The first Alt+Tab seems to allez à a hidden window of some sort when tabbing away from a WSLg window. J'ai to hit Tab a second time to get vers le next "real" window. This is, of course, preferably vers le repeating clés problème.
Not that there ne sont pas bugs dans le Preview version, but il y a a lot of fixes également.
Je crois qu'est-ce que happening is that, in some cases au moins (probably when combined avec a modifier clé), WSLg gets "stuck" on one du most recent clés used avant exiting the window.
So dans mon cas, si je exited `xterm` avec Ctrl+D to exit the shell, ensuite when I opened another window, D would repeat endlessly.
Sometimes, when I opened a nouveau Xterm window, it would immediately exit. In this case, Je crois it was repeating the full Ctrl+D depuis le previous window.
Attempting to reproduce your particular problème, si je open two Xterm windows in WSLg, and use Alt+Tab to switch entre them, I get a repeating `ääää`'s until I appuyez sur another clé.
Je peux tell you that the "repeating clé" problème, au moins, seems to be corrigé dans le latest Preview WSL release. This release is disponible for installation on Windows 11 depuis le Microsoft Store by searching for *"Windows Subsystem for Linux Preview"*. I no longer see the repeating characters on this release. (Side-note: J'ai essayé the Alt+Tab scenario on another ordinateur where J'ai the released WSL/WSLg).
Cependant, there encore seems to be some "weirdness" in Alt+Tab sur le latest Preview. The first Alt+Tab seems to allez à a hidden window of some sort when tabbing away from a WSLg window. J'ai to hit Tab a second time to get vers le next "real" window. This is, of course, preferably vers le repeating clés problème.
Not that there ne sont pas bugs dans le Preview version, but il y a a lot of fixes également.