It partially works for me in version 24.2 from Flathub, on Wayland GNOME 45 / Fedora 39.
What works: it doesn't become minuscule.
What doesn't work optimally: it seems the maximization state is maybe not saved independently from width/height, because sometimes when you unmaximize it, either...
* It unmaximizes to the previous window width/height (correct behavior), or;
* It unmaximizes to the "maximized window's width/height" (incorrect behavior)
Further reference that might help as inspiration for implementation, i.e. how it works in GNOME apps at least: https://developer.gnome.org/documentation/tutorials/save-state.html (you can see there that the maximization state is saved independently from width/height, but also you need to infer that width/height shouldn't get saved while in maximized state, only in windowed state)
---
Version: 24.2.0.3 (X86_64) / LibreOffice Community
Build ID: da48488a73ddd66ea24cf16bbc4f7b9c08e9bea1
CPU threads: 8; OS: Linux 6.6; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
Flatpak
Calc: threaded
It partially works for me in version 24.2 from Flathub, on Wayland GNOME 45 / Fedora 39.
What works: it doesn't become minuscule.
What doesn't work optimally: it seems the maximization state is maybe not saved independently from width/height, because sometimes when you unmaximize it, either...
* It unmaximizes to the previous window width/height (correct behavior), or;
* It unmaximizes to the "maximized window's width/height" (incorrect behavior)
See this demonstration video showing both situations with LibreOffice Calc 24.2: /youtu. be/dv8gb1GljzU
https:/
Further reference that might help as inspiration for implementation, i.e. how it works in GNOME apps at least: https:/ /developer. gnome.org/ documentation/ tutorials/ save-state. html (you can see there that the maximization state is saved independently from width/height, but also you need to infer that width/height shouldn't get saved while in maximized state, only in windowed state)
---
Version: 24.2.0.3 (X86_64) / LibreOffice Community ea24cf16bbc4f7b 9c08e9bea1
Build ID: da48488a73ddd66
CPU threads: 8; OS: Linux 6.6; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
Flatpak
Calc: threaded