Commit Graph
3373 Commits
Author SHA1 Message Date
victorrhgap d27ab66595 fix: SystemTooltip wraps long text instead of overflowing (#166)
white-space: nowrap caused help tooltips to bleed outside their
container. Changed to normal with max-width 360px so technical
help text wraps properly.

cc
2026-03-24 18:59:51 -06:00
victorrhgap b826f88fad feat(hifi-wizard): non-systemd support and verify step fix
- Add Gentoo/OpenRC and Void/runit to distro selector
- All systemctl commands now adapt to selected distro init system
- Verify step warns user to close wizard before testing
- Status/restart/rollback commands are distro-aware

cc
2026-03-24 18:48:41 -06:00
victorrhgap 9a1b88e5bf fix: prevent image flicker on WebKitGTK 2.50+ (compositing layer fix)
WebKitGTK 2.50.x evicts image textures from GPU memory during
repaints triggered by hover/scroll, causing momentary placeholder
flash. Force each cached image into its own compositing layer via
will-change + translateZ(0) to prevent texture eviction.

Applied in cachedSrc action so all 18 components using it are fixed.

cc
2026-03-24 18:23:22 -06:00
victorrhgap 499f188bf8 fix: hybrid Intel+NVIDIA treated as NVIDIA-only for compositing
main.rs GPU conditions checked has_nvidia && !has_amd but not
has_intel, so hybrid laptops (Intel iGPU + NVIDIA dGPU) had
compositing and DMA-BUF disabled unnecessarily.

Also remove duplicate DMABUF/compositing logic from lib.rs that
ran before main.rs and conflicted with its GPU-aware decisions.

cc
2026-03-24 18:03:46 -06:00
victorrhgap d9ea5f96e0 fix: make diagnostics panel on-request instead of always visible
Panel is collapsed by default, loads data only when opened.

cc
2026-03-24 18:03:37 -06:00
victorrhgap 7f952b11ac feat: add system diagnostics panel to Developer Mode
Tabular view comparing saved vs runtime settings for audio,
graphics, and environment variables. Collapsible sections with
match/mismatch indicators and export to clipboard.

cc
2026-03-24 17:55:35 -06:00
victorrhgap be900ab628 feat: add v2_get_runtime_diagnostics command
Single IPC call returns saved audio/graphics/developer settings,
runtime GPU detection state, and active environment variables.

cc
2026-03-24 17:51:57 -06:00
victorrhgap 0265f32a97 docs: add 3-phase plan for diagnostics, NVIDIA defaults, setup wizard
Phase 1: Developer diagnostics tool (saved vs runtime settings)
Phase 2: GPU-aware smart defaults for NVIDIA-only Wayland
Phase 3: First-run setup wizard (Cider-style)

cc
2026-03-24 17:41:40 -06:00
victorrhgap a472930cd0 fix: respect saved graphics settings at startup
apply_linux_webkit_workarounds() was unconditionally disabling
DMABUF renderer and compositing mode, ignoring what the user
configured in Appearance > Composition settings.

Now reads graphics_settings.db and developer_settings.db at startup
(readonly, before Tauri state init) so toggles actually take effect.

- Add new_readonly() to GraphicsSettingsStore and DeveloperSettingsStore
- Hardware Acceleration ON = compositing enabled
- Force DMA-BUF toggle respected for WEBKIT_DISABLE_DMABUF_RENDERER
- Env vars still override saved settings

cc
2026-03-24 16:06:24 -06:00
victorrhgap 1a5104150a perf: batch download status checks on Home view
Replace 8+ sequential per-section IPC calls with a single batch
command. Backend reads all tracks once instead of N times.

- Add v2_check_albums_fully_cached_batch (single DB read, HashMap return)
- Remove per-section await tick() + loadAllAlbumDownloadStatuses() calls
- Single batch call at end of loadHome() after all data resolves
- Keep individual check for on-click refresh (single album)

cc
2026-03-24 15:58:24 -06:00
Gwendal Beaumont 38f4d20c6c refactor(SearchView): replace hard-coded strings 2026-03-24 09:22:02 +01:00
Gwendal Beaumont 27b457dee9 chore: update french translation 2026-03-23 22:06:22 +01:00
vicrodh 3366c2e8d9 ci(gentoo): use APT_REPO_TOKEN instead of OVERLAY_PAT
cc
2026-03-22 23:10:36 -06:00
vicrodh 346db3785e ci: add release-gentoo workflow for overlay auto-update
Triggered by release-linux completion (same as AUR).
Updates ebuilds in vicrodh/qbz-overlay with new version.
Requires OVERLAY_PAT secret for cross-repo push.

cc
2026-03-22 22:55:49 -06:00
vicrodh 72b794a81c docs: add Gentoo overlay installation to README
cc
2026-03-22 22:49:30 -06:00
vicrodh c3accf7e93 fix: allow network folders in manual offline mode
loadFolders was marking ALL network folders as inaccessible when
offline, regardless of the reason. Manual offline mode and
not-logged-in still have LAN access for NAS/Plex — only no_network
should hide them. Now uses shouldExcludeNetworkFolders() which
already had the correct logic.

cc
2026-03-21 14:35:51 -06:00
vicrodh eeb155641c fix: initialize all user stores in offline session activation
activate_offline_session was only initializing library, offline,
offline_cache, audio_settings, and playback_prefs. Missing stores
caused "No active session" errors for:
- download_settings (Show in Local Library toggle)
- session_store (session persistence)
- favorites_cache/prefs (favorites view)
- tray_settings (tray icon settings)

Now mirrors activate_session but skips online-only services
(MusicBrainz, ListenBrainz, Last.fm, API cache, artist vectors).

cc
2026-03-21 14:32:02 -06:00
vicrodh 86520df919 feat: make offline notice banner dismissible in Local Library
cc
2026-03-21 14:28:01 -06:00
vicrodh 8316e1f4c9 fix: logout spinner hang and last_user_id preservation
Two bugs:

1. mainContentEl teardown crash on logout — the $effect cleanup used
   non-null assertion (!) on an element that becomes null when the DOM
   is destroyed during logout. Changed to optional chaining (?.).
   This TypeError was blocking the render, causing the spinner to hang
   instead of showing the login form.

2. deactivate_session was clearing last_user_id, which broke offline
   mode after logout. The user's data stays on disk — only factory
   reset should clear the last_user_id marker.

cc
2026-03-21 14:25:28 -06:00
vicrodh fb74f318a1 fix: restore offline mode — use last known user profile
Three bugs prevented offline mode from working after V2 migration:

1. activate_offline_session used user_id=0 (empty profile) instead of
   the last known user_id, so the user's library/settings were invisible

2. setManualOffline was called BEFORE activate_offline_session, but it
   requires the offline store to be initialized (which happens during
   session activation). Reordered: activate session first, then set
   manual offline.

3. LoginView called setManualOffline directly instead of delegating to
   the parent's handleStartOffline which has the correct order.

Also added "noPreviousSession" i18n message for users who never logged
in — they need to create a profile first before offline mode works.

cc
2026-03-21 11:01:25 -06:00
vicrodh c766357870 fix: detect BundleExtractionFailed in catch block for offline mode
runtime_bootstrap returns Err(RuntimeDegraded) when bundle extraction
fails (no network), which throws an exception in the frontend. The
catch block was formatting the raw error object as JSON instead of
showing the connection failed message with the offline button.

Now detects BundleExtractionFailed/Network error in the catch block
and shows the proper i18n connection error, making the "Start Offline"
button accessible.

cc
2026-03-21 08:41:04 -06:00
dependabot[bot] 2c0c46d2bc chore(deps): bump rustls-webpki from 0.103.9 to 0.103.10 in /src-tauri
Bumps [rustls-webpki](https://github.com/rustls/webpki) from 0.103.9 to 0.103.10.
- [Release notes](https://github.com/rustls/webpki/releases)
- [Commits](https://github.com/rustls/webpki/compare/v/0.103.9...v/0.103.10)

---
updated-dependencies:
- dependency-name: rustls-webpki
  dependency-version: 0.103.10
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-03-21 09:41:52 +00:00
vicrodh 0416198557 fix: retry download with effective quality after fallback (#196)
When get_stream_url_with_fallback internally falls back from UltraHiRes
to HiRes (due to restrictions), the retry logic was requesting a fresh
URL at the original UltraHiRes quality — triggering another fallback
cycle and CDN connection issues.

Now tracks the effective quality from stream_url.format_id and retries
at that quality directly. Applied to both streaming and standard
download paths.

cc
2026-03-20 17:41:22 -06:00
vicrodh dde7c192dc fix: allow volume control when QConnect peer renderer is active on ALSA hw:
When ALSA Direct hw: is active but a remote device (phone, speaker) is
the active renderer via QConnect, volume changes go to the remote device
not the local DAC. The 100% lock should only apply to local playback.

cc
2026-03-20 17:34:47 -06:00
vicrodh a4782c645e fix(qconnect): refresh session snapshot when badge popup opens
In compiled builds, the session snapshot can be stale when the badge
popup opens — the deferred_renderer_join completes after the initial
snapshot was fetched, so QBZ doesn't appear in the renderer list.

Now fetches a fresh snapshot from the backend every time the popup
opens, ensuring the renderer list is always current. Uses a local
$state copy that syncs from the prop but can be updated independently.

cc
2026-03-20 10:06:29 -06:00
vicrodh f1f084c994 fix: use ~/.local/share/icons for Flatpak tray icon temp path
In Flatpak, the default temp dir is inside the sandbox and invisible
to the host's KDE StatusNotifierWatcher. libayatana-appindicator writes
the PNG to temp dir and calls set_icon_theme_path, but KDE can't see
sandbox paths. Use ~/.local/share/icons which is exported to the host
via Flatpak filesystem permissions.

Non-Flatpak installs continue using XDG_RUNTIME_DIR.

cc
2026-03-20 09:35:01 -06:00
vicrodh 8b85e0bad2 fix: add libclang-dev to snap build-packages for mupdf-sys bindgen
cc
2026-03-19 19:50:02 -06:00
vicrodh b73a910f99 fix: add unzip to snap build-packages for mupdf-sys ODT extraction
cc
2026-03-19 19:22:10 -06:00
vicrodh e900261ffe fix: increase album grid minmax to 220px to prevent card overlap
AlbumCard large is 210px but the grids used minmax(180px, 1fr),
causing cards to squeeze and overlap. Updated to minmax(220px, 1fr)
with 24px gap in both LocalLibrary artist view and Favorites artist
sidebar.

cc
2026-03-19 18:25:48 -06:00
vicrodh 0287a1feb8 fix: revert vite-plugin-svelte 7.0.0 -> 5.1.1 (requires vite 8)
Dependabot PR #189 bumped to 7.0.0 which requires vite ^8.0.0 but
we're on vite 6.4.1. Revert to 5.1.1 which is compatible.

cc
2026-03-19 18:17:01 -06:00
Afonso Jorge Ramos 70c27f3772 fix(macos): log when DAC sample rate detection is skipped 2026-03-20 01:16:09 +01:00
Afonso Jorge Ramos ce33270535 refactor: gate KWin functions with cfg(target_os = "linux") 2026-03-20 01:15:52 +01:00
Afonso Jorge Ramos 379ba28cee refactor: simplify should_use_main_window_transparency 2026-03-20 01:15:28 +01:00
Afonso Jorge Ramos 6422ae8ff9 refactor: cache isMacOS at module scope in titleBarStore 2026-03-20 01:15:15 +01:00
Afonso Jorge Ramos 6017cc70de fix(macos): gate drag region to macOS only 2026-03-20 01:14:47 +01:00
Afonso Jorge Ramos 7dca962080 fix(macos): merge duplicate platform detection and remove non-passive wheel listener 2026-03-20 01:14:27 +01:00
Afonso Jorge Ramos ebe555b7ca fix(macos): make notification fire-and-forget 2026-03-20 01:14:08 +01:00
Afonso Jorge Ramos dad062d61b fix(audio): add docs and fix param names for non-Linux stubs 2026-03-20 01:13:55 +01:00
Afonso Jorge Ramos f854e09661 feat(audio): add SystemDefault variant to AudioBackendType 2026-03-20 01:13:29 +01:00
Afonso Jorge Ramos 77888fb310 fix: suppress unused_mut warning for cross-platform builder 2026-03-20 00:49:42 +01:00
Afonso Jorge Ramos 08367fe951 fix: convert 16-bit PNG icons to 8-bit for Tauri compatibility 2026-03-20 00:45:16 +01:00
Afonso Jorge Ramos 00147dc7fb feat(macos): adapt frontend for native title bar
- Add macOS platform detection (html.macos class)
- Prevent pinch-to-zoom gestures in WKWebView
- Hide custom title bar on macOS (uses native overlay title bar)
- Add 32px top padding to sidebar for traffic light buttons
- Add drag region for window movement
2026-03-20 00:45:16 +01:00
Afonso Jorge Ramos caffd7b56c feat(macos): enable private API and set minimum system version 2026-03-20 00:45:16 +01:00
Afonso Jorge Ramos 3809a5cc67 feat(macos): add notify-rust dependency for desktop notifications 2026-03-20 00:45:15 +01:00
Afonso Jorge Ramos dbfc5e3f89 feat(macos): gate Linux-only commands and configure macOS window
- Gate XDG/desktop handler commands with macOS fallbacks
- Gate KWin window rule functions and cleanup to Linux
- Gate Linux-only notification helpers and constants
- Force native decorations on macOS (fixes WKWebView event delivery)
- Use overlay title bar style with dark background color
- Add macOS notifications via notify-rust with bundle identifier
2026-03-20 00:45:15 +01:00
Afonso Jorge Ramos 9bcf24131f feat(macos): gate network module and fix remaining souvlaki error formatting
Gate /proc/self/mountinfo parsing to Linux with empty fallback. Use
Debug formatting for remaining souvlaki errors not covered by 6261f312.
2026-03-20 00:45:15 +01:00
Afonso Jorge Ramos 5ed549d46b feat(macos): gate Linux-only audio backends with cfg
Add #[cfg(target_os = "linux")] to pipewire_backend and pulse_backend
modules. Add CpalDefaultBackend for non-Linux platforms using CPAL
default host (CoreAudio on macOS). Gate reset_pipewire_clock() calls.
2026-03-20 00:45:03 +01:00
vicrodh 95bc788c5a chore: clean up all warnings — zero Rust warnings, zero Svelte warnings
Rust:
- Remove unused get_screen_resolution() function
- Remove unused DEFAULT_QCONNECT_DEVICE_NAME constant

Svelte:
- Add tabindex=-1 to TitleBarNav menu dropdowns (a11y)
- Make volumeRef reactive with $state() in NowPlayingBar
- Remove unused .section-separator CSS from NowPlayingBar
- Remove unused .artist-albums CSS from SearchView and Grid
- Remove unused .artist-list-meta CSS from ArtistList

cc
2026-03-19 17:44:53 -06:00
vicrodh 352d589276 fix: update rcgen 0.12 -> 0.14 API and suppress unused variable warning
rcgen 0.14 breaking changes:
- CertificateParams::new() takes Vec<String> not Vec<SanType>
- Certificate::from_params() replaced by params.self_signed(&key_pair)
- cert.serialize_pem() replaced by cert.pem()
- cert.serialize_private_key_pem() replaced by key_pair.serialize_pem()
- Ia5String no longer public, DNS SANs passed as strings

Also prefixed unused _envelope variable in qconnect_service.rs.

cc
2026-03-19 17:34:12 -06:00
vicrodh 63b0136b5d Merge remote-tracking branch 'origin/pre-release' into pre-release 2026-03-19 17:25:19 -06:00