wslg icon indicating copy to clipboard operation
wslg copied to clipboard

Repeating keys running IntelliJ in WSLg

Open charlesritchea opened this issue 2 years ago • 7 comments

Windows build number:

22621.0

Your Distribution version:

22.04

Your WSL versions:

WSL version: 1.1.3.0 Kernel version: 5.15.90.1 WSLg version: 1.0.49 MSRDC version: 1.2.3770 Direct3D version: 1.608.2-61064218 DXCore version: 10.0.25131.1002-220531-1700.rs-onecore-base2-hyp Windows version: 10.0.22621.1485

Steps to reproduce:

Install jetbrains-toolbox directly to wsl, install IntelliJ and use it with a large project

WSL logs:

No response

WSL dumps:

No response

Expected behavior:

No response

Actual behavior:

After awhile keys will randomly start repeating (particularly bad with IdeaVIM!) I remember this exact same beviour when I used to use Hyper-V making me think whatever common input library/protocol is to blame

charlesritchea avatar Apr 03 '23 19:04 charlesritchea

I'm also running Chrome Remote Desktop above this, maybe that is a factor as well

charlesritchea avatar Apr 03 '23 20:04 charlesritchea

I just started running into this as well. I realize this is an old thread. I've noticed when typing in the terminal sometimes it will miss a key and then keys will just stay repeating until I hit another key.

Did you ever find the root cause?

abannachGrafana avatar Jan 19 '24 14:01 abannachGrafana

I'm pretty sure it's from whatever common library is used by both WSLg and Hyper-V because I also experienced this with Hyper-V hosted Linux. I think I tried to bring it up there too years ago and obviously was never fixed

On Fri, Jan 19, 2024, 9:18 AM Adam Bannach @.***> wrote:

I just started running into this as well. I realize this is an old thread. I've noticed when typing in the terminal sometimes it will miss a key and then keys will just stay repeating until I hit another key.

Did you ever find the root cause?

— Reply to this email directly, view it on GitHub https://github.com/microsoft/wslg/issues/1029#issuecomment-1900502826, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAMUMHJ2U6CAI2AKQ3GDED3YPJ6CVAVCNFSM6AAAAAAWRYVE2KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMBQGUYDEOBSGY . You are receiving this because you authored the thread.Message ID: @.***>

charlesritchea avatar Jan 19 '24 14:01 charlesritchea

Interesting. As I was thinking about this, I realized that I turned on the "Quick accent" tool in PowerToys Which listens to holding a key down to prompt for doing the accented character. I just turned it off, so I'll monitor for a bit, but so far I'm thinking that may have been my problem.

abannachGrafana avatar Jan 19 '24 14:01 abannachGrafana

Following up, I haven't had an incident since disabling the "Quick accent" tool. Its worth looking into any services that are running that may be monitoring input from the keyboard. Not a solution, but maybe a clue.

abannachGrafana avatar Jan 24 '24 14:01 abannachGrafana

I don't even have PowerToys installed, but still experiencing the same issue. It gets massively worse if there is more than one WSLg window open, at that point I can basically not type anymore because keys will be just repeating endlessly, until I close all but one window again. I'm not sure, but it might be restricted only to windows from Java applications.

oxc avatar Mar 01 '24 10:03 oxc