feat(qconnect): startup behavior setting — remember state / on / off

Restores the Tauri-era Qobuz Connect startup setting, now in
Settings > Playback per owner request. Reuses the shared
qconnect-app::startup module (QconnectStartupMode +
compute_effective_startup, unit-tested) and Tauri's exact
qconnect_settings.db keys (startup_mode / last_known_state), so an
upgrading user's choice survives. last_known_state is written at the
manual toggle's success points only — internal teardowns (D5 offline
force-disconnect, bootstrap failure cleanup) never clobber the
remembered state, mirroring Tauri's command layer. Startup auto-connect
runs post-enter_shell (online sessions only, once per process) through
the same connect() path as the toggle, on Tauri's bounded retry
schedule, bailing silently under offline mode instead of toasting per
retry. Select row mirrors the quality-retries row; 5 msgids x8 locales.

cc
This commit is contained in:
vicrodh committed 2026-07-07 17:37:30 -06:00
1 parent 65d4f92880
commit 00a44e123f
14 files changed
+366 -4

No files matched your search

@@ -233,3 +233,15 @@ msgstr "QBZ can be used as an offline player without a Qobuz™ account (no acce
# Renderer degradation ladder toast (generic: GL or software rung)
msgid "Renderer switched automatically — the previous renderer failed to start"
msgstr "Renderer switched automatically — the previous renderer failed to start"
# QConnect startup behavior (Settings > Playback, ported from Tauri)
msgid "Auto-connect Qobuz Connect on startup"
msgstr "Auto-connect Qobuz Connect on startup"
msgid "Choose whether Qobuz Connect activates automatically when QBZ launches."
msgstr "Choose whether Qobuz Connect activates automatically when QBZ launches."
msgid "Remember state"
msgstr "Remember state"
msgid "On by default"
msgstr "On by default"
msgid "Off by default"
msgstr "Off by default"