Releases: Ropaxyz/EaseView
Small fixes
Summary of Fixes
- Window positioning and scaling
Updated _restore_window_geometry() to:
Validate saved window positions against all monitors
Center on the primary monitor if the saved position is off-screen
Ensure window size doesn't exceed screen dimensions
Handle multi-monitor setups
Removed redundant centering command from setup_window() since geometry restoration handles it - Overlay cleanup on close
Updated _on_window_close() to:
Check if overlay is active when the user clicks X
If active, call quit_app() to destroy the overlay, stop the tray, and clean up
If not active, hide to tray as before
Results:
The window opens centered on the primary monitor, even if the saved position is off-screen
Window size is constrained to fit the screen
Closing with X while overlay is active properly quits and cleans up the overlay
The application should now work correctly on laptops and other screen sizes, and the overlay cleanup issue is resolved.
Closing to tray
Changes Made:
Modified minimize behavior (_on_window_minimize): The window minimizes normally by default. It only hides to the tray if "Minimize to tray" is enabled in settings.
Added new setting minimize_to_tray: Default is False so existing users aren't affected.
Added migration: Existing users will have minimize_to_tray default to False.
Updated Settings dialog: Added a checkbox in Settings > Startup Options labeled "Minimize to tray when minimized". Enabling it restores the previous hide-to-tray behavior.
The application now minimizes normally by default. Enable the option in Settings > Startup Options if you want it to hide to the tray on minimize. Closing the window (X) still hides to the tray regardless of this setting.

