wslg icon indicating copy to clipboard operation
wslg copied to clipboard

Input hangs.

Open yan3ku opened this issue 1 year ago • 3 comments

Windows build number:

10.0.22631.0

Your Distribution version:

22.04 Ubuntu and Debian 12

Your WSL versions:

WSL version: 2.0.9.0 Kernel version: 5.15.133.1-1 WSLg version: 1.0.59 MSRDC version: 1.2.4677 Direct3D version: 1.611.1-81528511 DXCore version: 10.0.25131.1002-220531-1700.rs-onecore-base2-hyp Windows version: 10.0.22631.2715

Steps to reproduce:

Open any text editor (Tested with emacs, gvim and gedit) Type some text.

WSL logs:

No response

WSL dumps:

No response

Expected behavior:

The type is typed as it is.

Actual behavior:

Sometimes some key will hang and input itself over and over, it happens often after pressing space. E.g. type "not" and the t will hang resulting in notttttttttttttttttttt, it happens really often making any writing really frustrating.

yan3ku avatar Dec 11 '23 15:12 yan3ku

This sounds similar to #1140

tkonsta avatar Jan 10 '24 15:01 tkonsta

@Yan3ku Do you have Microsoft PowerToys running in your Windows? Yesterday after reading some comments on intermittent WSLg issues which related these issues to running programs in Windows, I played a bit with my started programs and so far it seems, that if I deactivate PowerToys, then these keyboard lags are gone.

Maybe you can check that as well and if you experience the same, then we might get a step closer to the root cause and maybe Microsoft can find the problem in either PowerToys or WSLg...

tkonsta avatar Jan 11 '24 07:01 tkonsta

I also experience this issue as well, mainly in IntelliJ IDEA. I have PowerToys installed. However, the keyboard hangs also if PowerToys is stopped.

Distribution: Debian 12.4 My WSL versions are the same as in the original post, only with Windows-Version 10.0.22631.3155.

Any further ideas how to debug it?

catchin avatar Feb 23 '24 12:02 catchin