microsoft / wslg

Enabling the Windows Subsystem for Linux to include support for Wayland and X server related scenarios
MIT License
9.9k stars 296 forks source link

set window.titleBarStyle=custom, the mouse and the actual click position on the user interface do not match when using dual monitors.However, after disabling the display extension, this issue does not occur. #1233

Open alvin08s opened 2 months ago

alvin08s commented 2 months ago

Windows build number:

10.0.22621.0

Your Distribution version:

20.04

Your WSL versions:

WSL 版本: 2.1.5.0 内核版本: 5.15.146.1-2 WSLg 版本: 1.0.60 MSRDC 版本: 1.2.5105 Direct3D 版本: 1.611.1-81528511 DXCore 版本: 10.0.25131.1002-220531-1700.rs-onecore-base2-hyp Windows 版本: 10.0.22621.2283

Steps to reproduce:

  1. set window.titleBarStyle=custom
  2. restart vsocode

WSL logs:

No response

WSL dumps:

No response

Expected behavior:

No response

Actual behavior:

the mouse and the actual click position on the user interface do not match when using dual monitors, so I can not use it normally.

alvin08s commented 1 month ago

Any update?

amoskueez commented 1 day ago

seems like the issue is larger and has something to do with multiple monitors

when checking multiple apps including intelij on a single (laptop) monitor things work fine but when working on a hdpi monitor the layout distrupts the window position and the mouse click as well as the right click menu locations