microsoft / vscode

Visual Studio Code
https://code.visualstudio.com
MIT License
163.18k stars 28.84k forks source link

vscode window has a certain chance of getting stuck when pressing a button, unless restarted #195102

Closed 751620780 closed 11 months ago

751620780 commented 12 months ago

Does this issue occur when all extensions are disabled?: Yes/No

Steps to Reproduce:

There are two Windows computers A and B, each with the latest version of VScode installed

  1. Use computer A to open the vscode window, write a program, and maintain it for a period of time, such as 12 hours of use
  2. Use mstsc.exe on computer B to remotely access computer A and continue writing programs using the VScode window on computer A,
  3. When pressing a key on the keyboard under the vscode window, the vscode window is likely to get stuck, such as pressing the A key in the code editor window or file or content search window.
  4. Click on the vsocde task bar on the Windows taskbar could make the VScode window work properly, but pressing any button still causes the window to get stuck. The problem can only be resolved by closing all VScode windows on computer A and restarting VScode.
  5. If there are still no issues in steps 2, 3, and 4, then continuing to use the A computer (not using a remote desktop) and continuing to use the previously opened vscode window still has a high probability of steps 3 and 4 occurring.
751620780 commented 12 months ago

same issue occurs in Edge browser

809825706 commented 11 months ago

I have the annoying problem too!

deepak1556 commented 11 months ago

Thanks for the detailed steps, merging to https://github.com/microsoft/vscode/issues/167556