Skip to content

feat: Initial work to save user settings #2793

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

Kryptos-FR
Copy link
Member

PR Details

Saves the window size and state (maximized or not) into the user local settings.

It should also work on Linux and Mac because according to https://jimrich.sk/environment-specialfolder-on-windows-linux-and-os-x/, Environment.SpecialFolder.ApplicationData is well-defined on all three platforms.

Types of changes

  • Docs change / refactoring / dependency upgrade
  • 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)

Checklist

  • My change requires a change to the documentation.
  • I have added tests to cover my changes.
  • All new and existing tests passed.
  • I have built and run the editor to try this change out.

@Kryptos-FR Kryptos-FR added this to the Editor Rewrite - Phase 1 milestone May 19, 2025
@Kryptos-FR Kryptos-FR self-assigned this May 19, 2025
@Kryptos-FR Kryptos-FR added area-GameStudio work-estimate-S Good for first timers. A relatively quick item to fix, Max of 2x of XS labels May 19, 2025
@Kryptos-FR Kryptos-FR force-pushed the feature/xplat/user-settings branch from 12eee0e to 89e1e5f Compare May 20, 2025 12:49
@Kryptos-FR Kryptos-FR force-pushed the feature/xplat/user-settings branch from 7e76286 to f17003b Compare May 20, 2025 15:26
@Kryptos-FR Kryptos-FR merged commit a5873b1 into stride3d:xplat-editor Jun 2, 2025
2 checks passed
@github-project-automation github-project-automation bot moved this from Review to Done in Avalonia Editor Rewrite Jun 2, 2025
@Kryptos-FR Kryptos-FR deleted the feature/xplat/user-settings branch June 2, 2025 11:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-GameStudio work-estimate-S Good for first timers. A relatively quick item to fix, Max of 2x of XS
Projects
Development

Successfully merging this pull request may close these issues.

1 participant