Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WSL2 Windows only move the display, not the clickable area #166

Open
PlasmaHH opened this issue Mar 1, 2023 · 3 comments
Open

WSL2 Windows only move the display, not the clickable area #166

PlasmaHH opened this issue Mar 1, 2023 · 3 comments

Comments

@PlasmaHH
Copy link

PlasmaHH commented Mar 1, 2023

Under Windows10 and WSL2 windows are moved only visually, but behave as if the clickable areas are still at the old location. I suspect it has something to do with the WSL2 internal X server not getting the updates or so

@jprochazk
Copy link

For me it moves the viewport, but not the titlebar. The clickable area also just seems to stop working completely.
image

@RamonUnch
Copy link

Relevant quote from Steve Pronovost about WSLg architecture

For example, the preview still uses server-side window movement and resizing, resulting in window move and resize operations which don’t feel as smooth as native, which also results in the inability to snap Linux windows on the edges of the monitors or to custom snap region. These annoy us too 😊. We will continue to improve the experience over time and reduce the gap in behavior or performance between how Linux and Windows applications behave, while ensuring we continue to design these solutions following our core principles.

Related issues for reference:
microsoft/wslg#22
microsoft/PowerToys#10942

@matefriedl
Copy link

Hopefully this will be fixed on the WSLg side, but until then you can blacklist them for AltDrag. This way you won't accidentally mess up the window by trying to drag it. I added msrdc.exe to the "Process blacklist" which seems to do the trick.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants