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
Clamp desktop window sizing to the active display work area #2036
Parent runtime epic: #1952
Discovered during runtime propagation review on #2030 (F2).
Implement the native window contract already required by packaged smoke validation.
Requirements:
Before BrowserWindow construction, obtain the active/target display work area through Electron's main-process screen API.
Clamp the preferred initial 1280x820 dimensions to the available work-area width/height.
Clamp the configured 880x620 minimums when the work area itself is smaller, so BrowserWindow constraints cannot force the initial window beyond the display.
Keep normal-display preferred/minimum behavior, persisted bounds policy (if any), titlebar/security/webPreferences, smoke authorization, and all unrelated runtime behavior unchanged.
Centralize or cross-check preferred/minimum sizing constants so runtime and packaged-smoke validation cannot drift.
Add focused unit tests for normal, exactly bounded, narrow, short, and both-dimensions-smaller work areas.
Add an actual packaged reduced-display/native smoke exercise that verifies the constructed BrowserWindow bounds, not only the assertion helper. Keep it deterministic and harmless on Linux/macOS/Windows CI.
Preserve multi-display correctness by choosing the display relevant to initial window creation, with a deterministic primary-display fallback.
Run desktop typecheck/tests, packaged smoke tests on supported platforms, package audit, and diff-check. Do not merge to main; target 1952-epic-electron-runtime-app.
Implemented by #2039, merged into 1952-epic-electron-runtime-app (4775600). Closing the completed child issue during epic issue/PR reconciliation. Final desktop integration and delivery remain tracked by #1950 / #1970; this does not claim a main-branch release.
Activity
propr-dev commentedon Aug 31, 2026
🤖 AI processing has started for this issue using codex agent with gpt-5.6-sol model.
I'll analyze the problem and work on a solution. This may take a few minutes.
Processing Details:
codexgpt-5.6-sol2036/gpt-5.6-sol-clamp-desktop-window-sizi-20260831-2347-ql31952-epic-electron-runtime-appissue-2036-20260831-2347-gpt-5.6-sol-ql3🔍 Track Task Execution
fix(ai): Resolve issue #2036 - Clamp desktop window sizing to the act…
integry commentedon Sep 4, 2026
Implemented by #2039, merged into
1952-epic-electron-runtime-app(4775600). Closing the completed child issue during epic issue/PR reconciliation. Final desktop integration and delivery remain tracked by #1950 / #1970; this does not claim a main-branch release.