Skip to content

Desktop app should remember window size and position #67

Description

@MrSurly

Summary

On desktop (Linux, and presumably other desktop targets once supported), the app window always opens at a default size/position instead of remembering where the user last left it.

Desired behavior

  • Save window size and position on close (or periodically/on resize+move, debounced).
  • Restore it on next launch.

Implementation notes

The window_manager package (https://pub.dev/packages/window_manager) is a common fit for this on Flutter desktop -- handles get/set of size, position, and window state, and is cross-platform (Linux/Windows/macOS) if desktop support expands beyond Linux later. Not currently a dependency of this project.

Related

Desktop support was originally added in #11.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions