From 40cd6d730323b5eb4b35ca05490abe7c279ac919 Mon Sep 17 00:00:00 2001 From: vicrodh <103399283+vicrodh@users.noreply.github.com> Date: Fri, 16 Jan 2026 21:39:48 -0600 Subject: [PATCH] fix: improve tooltip UX and enforce mutual exclusion on load Tooltip improvements: - Consolidate duplicate tooltips into single unified tooltip - Show device info + DAC status + sample rate in one place - Remove native 'title' attributes that were causing conflicts - Add visual indicators (colored dots) for setting states - Display resampling warning with actual rates when detected - Better structured tooltip with sections Mutual exclusion enforcement: - Validate settings on load in loadAudioSettings() - Auto-disable Gapless and Crossfade if DAC Passthrough is enabled - Prevents invalid state from persisted settings This fixes the issue where users could have incompatible settings active simultaneously after app restart. --- src/lib/components/AudioOutputBadges.svelte | 103 ++++++++++++++++--- src/lib/components/views/SettingsView.svelte | 12 +++ 2 files changed, 103 insertions(+), 12 deletions(-) diff --git a/src/lib/components/AudioOutputBadges.svelte b/src/lib/components/AudioOutputBadges.svelte index 287b10042..edbaf939a 100644 --- a/src/lib/components/AudioOutputBadges.svelte +++ b/src/lib/components/AudioOutputBadges.svelte @@ -157,7 +157,6 @@ class:active={dacBadgeState === 'active'} class:warning={dacBadgeState === 'warning'} class:off={dacBadgeState === 'off'} - title={showTooltips ? dacTooltip : undefined} > DAC @@ -166,23 +165,58 @@