github paolostivanin/OTPClient v5.0.4

8 hours ago

Small bug-fix release in the 5.0.x line. The headline fix is a Flatpak-only data-loss-prevention hotfix: the GSettings schema XML was installed to /app/share/glib-2.0/schemas/ but never compiled into gschemas.compiled, so g_settings_schema_source_lookup() failed at runtime and every g_settings_set_* call became a silent no-op. The visible symptoms were an empty sidebar on every launch (the db-list GVariant key never persisted) and preference changes that did not stick across restarts (#442). No data was lost: the .enc files remained on disk and the last-used path was still being written to otpclient.cfg via the GKeyFile fallback. On first launch after upgrading to 5.0.4 the v4 migration path in gui_misc_get_db_list rebuilds the sidebar from that fallback automatically. Non-Flatpak builds are byte-identical to 5.0.3 with respect to the schema fix.

Fixes

  • Flatpak GSettings schema not compiled at install time, causing the sidebar to appear empty and preferences to reset on every restart (#442). The CMake install hook running glib-compile-schemas was gated behind if(NOT IS_FLATPAK) under the assumption that the Flathub manifest handled it. It didn't — the regression became user-visible in 5.x because the multi-database sidebar relies on db-list, the first GSettings key without a GKeyFile fallback. Both glib-compile-schemas and gtk4-update-icon-cache are now unconditional.
  • Welcome dialog Back/Next/page-indicator row got pushed below the visible area when an AdwStatusPage's natural height exceeded the dialog's content area (#441). The nav row lived inside the same GtkBox as the stack; now pinned via AdwToolbarView's bottom bar so it stays visible while the status page's internal scroll handles long descriptions. Dialog also bumped from 500×420 to 560×560.

sha256: 5624e3693c766b7abb5c0d187c2607315eb1009659be3606eabfb7c213b579f1

Don't miss a new OTPClient release

NewReleases is sending notifications on new releases.