DefGuard / client

Best WireGuard desktop client with Multi-Factor Authentication
66 stars 9 forks source link

macOS client resizes window unexpectedly #207

Closed tomasbedrich closed 2 months ago

tomasbedrich commented 4 months ago

After each launch on an application (when it was not running before) the client opens the window and resizes on its own. Likely it tries to maximize to fill entire screen, but instead its top left corner remains in place -> the window overflows from the screen.

My preference is for client to remember the last window position.

nhymxu commented 3 months ago

look like they fixed size here 👎 https://github.com/DefGuard/client/blob/abff2c7ceb311cb2d2aed3fbd82eb7abc2153db1/src-tauri/tauri.conf.json#L98-L104

maybe can using this plugin to handle https://github.com/tauri-apps/tauri-plugin-window-state