When to use this skill
ALWAYS use this skill when the user mentions:
- Remembering window size and position / Remember window size and position
- StateFlags or restore behavior / StateFlags or restore behavior
- Consistent window state across sessions / Consistent window state across sessions
Trigger phrases include:
- "window state", "StateFlags", "restore", "window size"
- "Window state", "StateFlags", "restore", "window size"
How to use this skill
- Choose StateFlags to persist size, position, and maximized state
- Enable window-state plugin in the app setup
- Restore window state at startup with correct timing
- Validate multi-display behavior and scaling differences
Outputs
- Window restore plan / Window restore plan
- StateFlags and timing checklist / StateFlags and timing checklist
Scope
- Boundary: Window-state plugin usage only
- Key points: StateFlags and restore timing
References
Keywords
tauri window state, StateFlags, restore, window size