vixalien / decibels

Play audio files
https://gitlab.gnome.org/vixalien/decibels
GNU General Public License v3.0
51 stars 17 forks source link

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

Closed kra-mo closed 1 year ago

kra-mo commented 1 year ago

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.

vixalien commented 1 year ago

thanks for reporting this

vixalien commented 1 year ago

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

kra-mo commented 1 year ago

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.

vixalien commented 1 year ago

thanks