Skip to content

Add window state save/restore feature#2106

Open
Zakariathr22 wants to merge 1 commit intomicrosoft:mainfrom
Zakariathr22:WindowStateSaver
Open

Add window state save/restore feature#2106
Zakariathr22 wants to merge 1 commit intomicrosoft:mainfrom
Zakariathr22:WindowStateSaver

Conversation

@Zakariathr22
Copy link
Contributor

Description

  • Adds support for saving and restoring main window size, position, scale, and maximized state between sessions.
  • Introduces new settings properties and UI toggle for enabling/disabling this feature.
  • Implements WindowStateHelper and WindowState classes for state management.
  • Window state is restored on load and saved on close if enabled in Settings page.

Motivation and Context

How Has This Been Tested?

Manually tested

Screenshots (if appropriate):

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Adds support for saving and restoring main window size, position, scale, and maximized state between sessions. Introduces new settings properties and UI toggle for enabling/disabling this feature. Implements `WindowStateHelper` and `WindowState` classes for state management. Window state is restored on load and saved on close if enabled.
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.

Resize the window on startup

1 participant