microsoft / vscode

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

When run in Wayland-native mode, VSCode stops responding to mouse inputs after being unfocused for an extended period of time. #221961

Closed Naxdy closed 1 month ago

Naxdy commented 1 month ago

When running VSCode in Wayland native mode, all windows become unresponsive to mouse inputs (hover, clicks, etc.) after being unfocused for an extended period of time (~30 mins). This includes newly created windows. The application remains responsive for keystrokes, so it is still functional otherwise. Only a full restart (Ctrl+Q) of the application solves this problem (temporarily, at least). When running under XWayland, this issue is not present. Other Electron apps do not exhibit this behavior.

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

Steps to Reproduce:

  1. Launch VSCode in Wayland-native mode
  2. Unfocus the window for an extended period of time
VSCodeTriageBot commented 1 month ago

Thanks for creating this issue! It looks like you may be using an old version of VS Code, the latest stable release is 1.91.1. Please try upgrading to the latest version and checking whether this issue remains.

Happy Coding!

Naxdy commented 1 month ago

Also present in 1.91.1

akulisch commented 1 month ago

Can confirm; I have the same issue. System: OS: Linux x64 6.6.40-1-MANJARO (stable branch) WM: KDE Wayland 6.0.5 VS Code Version: 1.91.1

deepak1556 commented 1 month ago

Please check if the issue is present with our insiders https://code.visualstudio.com/insiders

vs-code-engineering[bot] commented 1 month ago

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.

Happy Coding!