Skip to content

Fix title bar maximize and restore behavior - #149

Merged
angnuoli merged 2 commits into
microsofthackathons:mainfrom
angnuoli:angnuoli-microsoft-sync-main-rebuild-installer
Jul 30, 2026
Merged

Fix title bar maximize and restore behavior#149
angnuoli merged 2 commits into
microsofthackathons:mainfrom
angnuoli:angnuoli-microsoft-sync-main-rebuild-installer

Conversation

@angnuoli

Copy link
Copy Markdown
Collaborator

Summary

  • replace the transparent frameless window with Electron's native hidden title bar mode on Windows
  • restore native header double-click maximize/restore behavior
  • remove rounded borders while maximized and keep an opaque theme-aware renderer background

Validation

  • desktop TypeScript and Vite production build
  • Windows Electron probe confirmed consecutive header double-clicks emit maximize and unmaximize states
  • full installer build completed successfully

angnuoli and others added 2 commits July 30, 2026 15:48
Use the native hidden title bar instead of a transparent frameless window so Windows can reliably maximize and restore the app from the header and controls.

Co-authored-by: Copilot App <[email protected]>
Choose the opaque BrowserWindow background from the persisted light, dark, or system theme and update it when the theme changes to avoid a white startup flash.

Co-authored-by: Copilot App <[email protected]>
@angnuoli
angnuoli merged commit 9542fbd into microsofthackathons:main Jul 30, 2026
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant