Skip to content

Geometry not preserved when user "destroys" the window

When user "destroys" the window by clicking on the [X] button, effectively asking the UI subsystem to close the application, the geometry is not preserved. This is because the it seems that window position can't be obtained inside the onDestroy handler (I hope I am wrong). Until this issue is resolved users should "gracefully" close the application by pressing CTRL-Q, or clicking on the File/Quit menu.

Possible solution

We most likely have to have a handle of geometry change, and update the state all the time, so that later we can use that to save...

Edited by Dejan Lekic