You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Window size, position and maximized state are saved on every move/resize but never restored: every launch opens at 1280x720 #523
ProjectDirectorOptions.WindowState is written to disk, and nothing in the repository reads it. ktsu.ImGui.App 3.79.0 creates the window only from ImGuiAppConfig.InitialWindowState, and it keeps no store of its own. So the window always opens at the default 1280x720, in the default position, not maximized.
Why it matters
A user who maximizes the window, or moves it to a second monitor, loses that layout on every launch, even though the app saves it each time the window changes. The persisted value is dead data.
Suggested fix / acceptance criteria
Add InitialWindowState = Options.WindowState to BuildConfig, making sure the options are loaded before BuildConfig runs.
Consider clamping a saved position that is no longer on any connected monitor.
Add a test: BuildConfig() with loaded options whose WindowState is non-default carries that size, position and layout state through InitialWindowState.
Next step: Set InitialWindowState = Options.WindowState, make sure the options are loaded first, and consider clamping an off-screen position. Add the BuildConfig() test described in the issue.
Activity
matt-edmondson commentedon Nov 2, 2026
Triage
BuildConfigand options loading inProjectDirector/ProjectDirector.cs.BuildConfig.InitialWindowState = Options.WindowState, make sure the options are loaded first, and consider clamping an off-screen position. Add theBuildConfig()test described in the issue.Generated by Claude Code