Healix / Gw2Launcher

Manages and allows for multiple Guild Wars 2 clients to be launched

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Windows placed outside of Display

shortN0te opened this issue · comments

After some adjusting of window size and position all the Windows are getting placed outside of my Displays when the option "Prevent resizing/moving of window" is not set. When the window gets selcted through the Taskbar it can be interacted with (character selection screen + Enter for example).

This only occurs when started through Gw2Launcher. New created accounts with new generated gfx and local.dat are effected too.
I have not nuked the Gw2Launcher settings yet since i am not sure about the correct backup procedure to backup account data + settings for all my accounts.

This is on Windows 11.

This sounds like a scaling problem. Are you using multiple monitors set to different scales? Windows will automatically adjust for scaling, so it'll double everything when moving from 100% to 200% for example. To counter that, Gw2Launcher watches for changes to the window for up to 5s and will re-apply when the window changes, unless it was dragged / manually moved. The difference with the prevent resizing option is it always re-applies. You can manually apply the bounds by right clicking the account Selected/All > Apply windowed bounds, which should also be affected if scaling was a problem.

Note there are 2 way to configure the window bounds. You can set the default bounds per account under the account's launch options, or use the window manager (right click any account > Tools) to configure windows for accounts to use, which overrides the other. If you think you're using the account's settings, ensure the window manager doesn't have an active template under the manager tab.

GW2 will save its own window position in Local.dat. This is where GW2 will initially display its window vs Gw2Launcher moving the window after character select has loaded.

I have 3 Displays with left and right 1920x1080 and the middle/main with 2560x1440. I use 100% scaling on all of them, so probably not the issue.

I use for all Accounts the Windowed mode option with set coordinates and width/height. Those got set via the meatball menue on the right and then rightclick -> show other accounts. Then i let them Auto arrange. (Trying this again does not change anything)

I will troubleshoot further (probably will take some time since i am busy and the workaround with "Prevent resizing/moving of window" works for now) and report my findings.

After completely wiping the settings and starting from scratch i reencountered the issue. It is actually the Option "Hide the initial Window" under Settings -> Generel -> Windows