wslg icon indicating copy to clipboard operation
wslg copied to clipboard

IDEA in wslg has offset when in fullscreen mode

Open w93163red opened this issue 4 years ago • 10 comments

Environment

Windows build number: 10.0.22000.0
Your Distribution version: Ubuntu 20.04
Your WSLg version: 1.0.26
WSLg ( x86_64 ): 1.0.26+Branch.main.Sha.26ce2c09b86442f3c7f4f6462f770ed2afa76a25
Mariner: VERSION="1.0.20210224"
FreeRDP: b05321cd4e6a862aef76163a69db4e1910245736
weston: 46756d0e77e5c01b5995fbbee6f3ab0db9b30612
pulseaudio: 2f0f0b8c3872780f15e275fc12899f4564f01bd5
mesa:

Steps to reproduce

Open latest IDEA (2021.2.2) and then click fullscreen

WSL logs:

pulseaudio.log weston.log

Expected behavior

should not have offset

Actual behavior

Please see the attach image

image

w93163red avatar Oct 12 '21 15:10 w93163red

Me too

haha1029 avatar Oct 13 '21 09:10 haha1029

Did you try v1.0.28 from here https://github.com/microsoft/wslg/releases ?

Biswa96 avatar Oct 13 '21 09:10 Biswa96

I have updated to 1.0.29-preview (from microsoft store), it is still the same and it affected clion too. I guess it will affect all intellij ides. The reproduce steps will be follows:

  1. open ide;
  2. click full screen immediately after the window pop up.

If you wait for a moment then click full screen, this issue will not exist any more.

w93163red avatar Oct 13 '21 18:10 w93163red

Is there any update for this long-standing issue?

pan3793 avatar Apr 20 '22 06:04 pan3793

Looks like https://youtrack.jetbrains.com/issue/IDEA-326544 has been raised on the other side.

They have a work-around:

As a workaround, see if it helps to:

Invoke the 'Find Action' popup dialog with Ctrl+Shift+A (or Shift-Shift and tab to 'Actions') Type "registry" there and select the found action Look for the ide.linux.hide.native.title key in the dialog that appears and disable it Restart the IDE

paperclip avatar Aug 03 '23 08:08 paperclip

I am currently expereicing this issue with the following WSL/g versions

WSL version: 1.2.5.0
Kernel version: 5.15.90.1
WSLg version: 1.0.51
MSRDC version: 1.2.3770
Direct3D version: 1.608.2-61064218
DXCore version: 10.0.25131.1002-220531-1700.rs-onecore-base2-hyp
Windows version: 10.0.22621.1992

nicholass-alcidion avatar Aug 13 '23 23:08 nicholass-alcidion

I am currently expereicing this issue with the following WSL/g versions

WSL version: 1.2.5.0
Kernel version: 5.15.90.1
WSLg version: 1.0.51
MSRDC version: 1.2.3770
Direct3D version: 1.608.2-61064218
DXCore version: 10.0.25131.1002-220531-1700.rs-onecore-base2-hyp
Windows version: 10.0.22621.1992

@nicholass-alcidion However, some dialogue windows still appear in the top left corner of the screen instead of the center, right?

gf9276 avatar Aug 14 '23 09:08 gf9276

Yea. dialogue appear in the top left corner - and I can't full screen borderless windows as they get offset from the top-left by like 20-ish px and none of the visuals line up with the actual interaction points.

The workarround from Jetbrains which re-enables the window broders does make the jetbrains ides workable again

nicholass-alcidion avatar Aug 14 '23 23:08 nicholass-alcidion

@paperclip - thank you for sharing the Jetbrains published workaround, that solution works for me as I too was having the same issue.

Looks like https://youtrack.jetbrains.com/issue/IDEA-326544 has been raised on the other side.

They have a work-around:

As a workaround, see if it helps to:

Invoke the 'Find Action' popup dialog with Ctrl+Shift+A (or Shift-Shift and tab to 'Actions') Type "registry" there and select the found action Look for the ide.linux.hide.native.title key in the dialog that appears and disable it Restart the IDE

michaelrobertharmon avatar Oct 30 '23 21:10 michaelrobertharmon

This (still!) affects any app with client-side decorations. eg. evince, pgadmin

miiichael avatar Apr 01 '25 07:04 miiichael