Default window geometry (width and height) not used on first startup
As part of #298 (closed) with !126 (merged), we made it so that the default window size, particularly its height, is bigger by default so that the visualizations can be seen. That part worked on its own when I tested it.
In commit 5a2dfa42, @CleoMenezesJr made it so that the app would also remember the user's preferred window width and height, which is great! Except that there must be some bug in that code (presumably), because version 45.0 as shipped in Fedora 39 now ignores the default values I had set, when there are no user-set values... so the window shows up too small by default again.
To reproduce:
- Reset the
org.gnome.Weather window-height
gsetting (to-1
) - Reset the
org.gnome.Weather window-width
gsetting (to-1
) - Launch GNOME Weather
- Notice that it shows up too small to show the visualisations, the window shows up "as small as possible" and its height dynamically gets bumped up for minimum height by the widgets themselves, instead of using the (bigger) default window width and height