Window geometry not saved if the app is quit instead of closed
If the app is quit via Ctrl+Q or by force quitting it, it does not save the window geometry, only if the window is closed. This is because the function responsible for it is connected to the close-request
signal of the window.