IDEA in wslg has offset when in fullscreen mode
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:
Expected behavior
should not have offset
Actual behavior
Please see the attach image

Me too
Did you try v1.0.28 from here https://github.com/microsoft/wslg/releases ?
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:
- open ide;
- 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.
Is there any update for this long-standing 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
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
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?
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
@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
This (still!) affects any app with client-side decorations. eg. evince, pgadmin