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

@@ -4464,3 +4464,15 @@ msgstr "QBZ kann ohne Qobuz™-Konto als Offline-Player genutzt werden (kein Zug
# Renderer degradation ladder toast (generic: GL or software rung)
msgid "Renderer switched automatically — the previous renderer failed to start"
msgstr "Renderer automatisch gewechselt — der vorherige konnte nicht starten"
# QConnect startup behavior (Settings > Playback, ported from Tauri)
msgid "Auto-connect Qobuz Connect on startup"
msgstr "Qobuz Connect beim Start automatisch verbinden"
msgid "Choose whether Qobuz Connect activates automatically when QBZ launches."
msgstr "Wählen, ob Qobuz Connect beim Start von QBZ automatisch aktiviert wird."
msgid "Remember state"
msgstr "Zustand merken"
msgid "On by default"
msgstr "Standardmäßig ein"
msgid "Off by default"
msgstr "Standardmäßig aus"