mimbrero / whatsapp-desktop-linux

Unofficial WhatsApp Linux client built with Electron.
https://flathub.org/apps/details/io.github.mimbrero.WhatsAppDesktop
MIT License
80 stars 20 forks source link

Window screen placement is not consistent between sessions #1

Closed lutzseverino closed 2 years ago

lutzseverino commented 2 years ago

The window is able to restore its last session when it comes to height, width and position, but it doesn't retain the screen it last resided.

https://user-images.githubusercontent.com/28309837/150586944-c8255483-889d-4882-80f7-8628f4e1fc93.mp4

The expected behavior would be for the window to remember the screen on the last session.

mimbrero commented 2 years ago

The current implementation should work actually, as it saves the x and y coordinates and height and width. Can you attach your config.json (~/.config/whatsapp-desktop-linux/) when closing the app after moving it to your second screen?