wslg icon indicating copy to clipboard operation
wslg copied to clipboard

Windowed Ubuntu programs do not resize like native windows in Windows 11 [require local-move support]

Open RosanneZe opened this issue 3 years ago • 4 comments

On Windows 10 I was using a third party x server to be able to run Ubuntu GUI windows with wsl2. This worked well, but sometimes I needed to restart because something stopped working. Because of this, I decided to upgrade to Windows 11 to use the new native way.

I was very surprised that the Ubuntu windows work very differently from the native windows. For example, I cannot use the win+left arrow shortcut to make the window take up half the screen, and resizing the window is quite slow. The third party solution worked a lot better: I could use all the normal shortcuts and it was a lot faster.

Will I be able to use keyboard shortcuts for resizing in a future update?

(I'm sorry if this is not the place to leave this kind of feedback. In that case could someone point me to the correct place?)

RosanneZe avatar Jan 10 '22 11:01 RosanneZe

@RosanneZe, thanks for trying out WSLg. Yes, we are aware of this specific in WSLg. You can refer my comment at https://github.com/microsoft/wslg/issues/324#issuecomment-867052815, thanks!

hideyukn88 avatar Jan 12 '22 00:01 hideyukn88

If window is moved by Windows without involving WSLg, WSLg doesn't know the window has been moved, thus such misalignment occurs.

@hideyukn88 Am I reading this correctly? That initially it was attempted to allow windows + <left/right/up/down> but it caused alignment issues and was removed/disabled until "local move" can be implemented?

Any progress on that issue?

For reference I'm on Windows 11 using the latest WSL as of 2022-10-19

WSL version: 0.70.0.0
Kernel version: 5.15.68.1
WSLg version: 1.0.45
MSRDC version: 1.2.3575
Direct3D version: 1.606.4
DXCore version: 10.0.25131.1002-220531-1700.rs-onecore-base2-hyp
Windows version: 10.0.22000.1098

abannachGrafana avatar Oct 19 '22 12:10 abannachGrafana

@RosanneZe, thanks for trying out WSLg. Yes, we are aware of this specific in WSLg. You can refer my comment at #324 (comment), thanks!

What about the other issue of resizing windows. Sometimes I have to click and drag many times for it to finally do it and it's not smooth at all.

worthwhileindustries avatar Sep 30 '23 20:09 worthwhileindustries

Still broken :(

taylor-shift avatar Sep 26 '24 09:09 taylor-shift