2.0.3: default window opens at 1488×837 @ 678,280 and crosses the claimed 1920 px screen; only --start-maximized places it (with outerHeight > availHeight)
Environment: ShardX Launcher 2.0.3, engine build 4, Windows 11, host monitor 5120×1440, profile declaring screen 1920×1080 / avail_height 1032 (kept as declared since #63 — thanks).
What happens
Every launch opens the browser window at Chromium's default size/position for the claimed work area — measured via Browser.getWindowForTarget: {left: 678, top: 280, width: 1488, height: 837, windowState: "normal"} — and the page reads screenX 678, outerWidth 1488 next to screen.width 1920. screenX + outerWidth = 2166 > 1920: the window extends past the screen the profile claims, which a page checks in one line.
Neither --window-position=0,0, --window-size=1920,1032 (extra launch arguments) nor browser.window_placement in Preferences change this on build 4 — all three gave the same 1488×837 @ 678,280 (on 2.0.1/2.0.2 --window-position was honoured). 2.0.2 opened the window maximised to the host work area (5120×1391), which at least never crossed the screen it reported then.
What works
--start-maximized: real window {left: -8, top: -8, width: 1936, height: 1098, windowState: "maximized"}, page reads screenX 0, screenY 0, outerWidth 1920, outerHeight 1080, innerWidth 1920, innerHeight 995. One small residue: a maximised Chrome on a real 1920×1080 desktop reports outerHeight == screen.availHeight (1032, the taskbar excluded), while here it is 1080 (outerHeight > availHeight is a state no ordinary window has).
Suggestion
Default a profile's first window to the claimed screen's work area — maximised state, bounds (0,0)–(width, avail_height) — or honour --window-position/--window-size/window_placement again, and cap the maximised outerHeight at avail_height.
Related symptom, same root: with the profile declaring a 1920×1080 screen on a 5120×1440 host, dragging the window to the right part of the monitor (screenX > 1920) makes testufo.com report SYNC FAILURE / ? Hz — frame pacing becomes irregular as soon as the window lies outside the declared display; moving it back under x < 1920 restores a steady 60 fps. Consistent with the engine treating the fingerprint screen as the only display for vsync/compositor purposes. Keeping the window inside the declared screen (which --start-maximized does) avoids both the pacing break and the screenX/outerWidth contradiction.
in 2.1.0