Maximising gitkraken makes maximise / minimise buttons disappear and draws outer frame outside of taskbar
Environment
Windows build number: Microsoft Windows [Version 10.0.22000.258]
Your Distribution version: Ubuntu 20.04
Your WSLg version: 1.0.26
Steps to reproduce
Maximise the gitkraken window.
Expected behavior
The window should be maximised within the desktop (not over the taskbar) and the max / min / close button should remain visible.
The window border should stay within the desktop.
Actual behavior
The maximise and close button disappear also hovering over the icon in taskbar, the close button in window popup also doesn't work.

The outer frame expands to the whole screen, over the windows taskbar.

it is not about gitkraken. it is about all windows which not control their header like firefox and chrome:( But not like gedit. Maybe it is because rounded corner in windows 11. Very nasty bug:(
I don't know, I don't have the problem with phpstorm (there the menu items don't work when maximised, but that's a different problem).
Probably unrelated, I don't get a gitkraken icon in windows like I get for phpstorm and jetbrains toolbox (there I get their own icon with the pinguin over it).
@HnLn, would you please share weston.log? You can shutdown WSL first by "wsl --shutdown" at cmd.exe, then start again and run gitkraken, then maximize its window. At this point, capture weston.log. I haven't used this app throughout, but simply clicking maximize button seems working fine for me. The weston.log should contains desktop area topology which is used to determine maximize window size and screen size, that can help me to determine the cause.
Regarding to the ICON on taskbar, this is because gitlaraken doesn't set "_NET_WM_ICON" atom while most of other app, such as jetbrains, firefox and goole-chrome does. You can see this by xprop.
Thanks!
Is above what you need ?
And ha ! I noticed 'enable_fractional_hi_dpi_support' in there, so went to check my display scaling. It's set to 250% (recommended) and if I set it to 200% (not workable, but as test), the min/max buttons work correctly and I don't get a border around my full desktop (including taskbar).
So, not a fix, but at least a cause.
@HnLn, thanks for the log file and analysis. I tried to reproduce at my end, by setting display scaling to 250%, but it looks maximizing window is working correctly. Is there additional steps I might be missing? And does this issue only happen with gitkraken? how about other GUI applications? Thanks!
Hi @hideyukn88 tnx for following up. I don't think there are any additional steps, start the app and maximise. Maybe it's drivers or hardware ? I added screenshots for both.


So I'm back on 250% and I have set WESTON_RDP_DISABLE_FRACTIONAL_HI_DPI_SCALING=false in .wslgconfig. Now I also have the problem with phpstorm. If I remove above setting, do wsl --shutdown and then restart, they both work correctly. very weird.
I am facing the same issue with some AUR packages and some built from source softwares. Did someone find any fix for this?
I have the same issue with wslg and gitkraken
Soething else I noticed, the splash screen of the apps (both phpstorm en gitkraken) don't start centered on the desktop, they are more bottom right, so the might not now the actual desktop size ?
I tried to play a bit by going into wsl --system and modify /home/wslg/.config/weston.ini to add mode= with my windows desktop resolution. At one time I got it starting centered and it maximised correctly, but then I realised the changes to weston.ini are not retained, so I'm not sure if it indeed did something and I can't reproduce either ... :).
FYI on a fresh win11 and microsoft store wsl install the issue is gone.