Skip to content
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

fix: maximized window optimization #5622

Merged
merged 1 commit into from
Jun 25, 2024

Conversation

Xazin
Copy link
Collaborator

@Xazin Xazin commented Jun 25, 2024

I've stopped saving the size of the window when it has been maximized, this means that when closing the application on Linux and MacOS from a maximized state, the application will open in it's previously regular state and size.

For Windows, I've added the previous maximized state to persistence, and maximize the window if it was previously maximized on application launch. This seems to be the standard behavior for Windows applications.

Relates: #3287
Closes: #2904 - PS. This is for windows only, applications on MacOS when closed will turn to regular state, so it cannot open maximized.

PR Checklist

  • My code adheres to AppFlowy's Conventions
  • I've listed at least one issue that this PR fixes in the description above.
  • I've added a test(s) to validate changes in this PR, or this PR only contains semantic changes.
  • All existing tests are passing.

@Xazin Xazin merged commit c996c9c into AppFlowy-IO:main Jun 25, 2024
13 checks passed
@annieappflowy
Copy link
Collaborator

on macOS and Linux, wouldn't it remember the maximized window?

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.

[FR] The application remembers being maximized
2 participants