vixalien/decibels

Window size doesn't get recorded if the app is quit

Closed this issue · 4 comments

kra-mo commented

It only gets recorded if the window is closed, because saving the schema is currently tied to the close-request signal. If the app is quit via Ctrl+Q or by force quitting, it does not.

thanks for reporting this

I'm not sure how to fix this, because apps like amberol also save the window state on close-request.

kra-mo commented

It's easiest to bind three keys to the "default-width", "default-height" and "maximized" properties of the window. It's also how the docs suggest you do it.

thanks