Skip to content

Merge pre-release into main for 2.2.0 - #133

Merged
afonsojramos merged 1503 commits into
mainfrom
release/main-2.2.0
Nov 11, 2026
Merged

afonsojramos merged 1503 commits into
mainfrom
release/main-2.2.0

Conversation

@afonsojramos

Copy link
Copy Markdown
Owner

Brings main to pre-release for the 2.2.0 release. Merge with a merge commit (not squash or rebase): the v2.2.0 tag points at this branch's head, and the release workflows require that commit to be an ancestor of main.

Keep orphan Jellyfin and Subsonic tracks indexed without exposing internal grouping keys as server album IDs. Align album cards, artist counts and track navigation, and rebuild derived catalogs with schema 8.

Regression fails on the previous projection (three cards for one real album) and passes with the fix for both providers. Catalog suite: 45 passed, 2 ignored scale benchmarks.

cx
Refresh missing artwork for unchanged SACD images when a folder cover is added after scanning. Enable image-specific metadata and cover sidecars in the Qt editor while preserving physical track numbers and never writing the ISO.

Validated with SACD regressions, the real Heathen image, 13 Qt editor tests, QML audits and the combined release build.

cx
Integrate the combined build containing the remote album ID correction and SACD artwork sidecars. The KEF DLNA fix remains on its separate branch pending reporter feedback.

cx
Handle explicit MPRIS Play/Pause without toggling paused playback, remove the 10,000-favorite cutoff, and sort albums by original release dates. Isolate Library filters by tab, include purchased release dates, and support server-ranked artist popularity with safe pagination.

Validated with 766 Qt tests, QML checks, release-sort regressions, and a release build. Refs #750, #751.

cx
Keep device setup and streaming sources consistent with the decoded ALAC rate and bit depth. Verify real hi-res files and exact synthetic samples.

cx
Apply the period after Rodio resets stream configuration, respect device bounds, and timestamp stream errors.

cx
Keep search, settings and link shortcuts usable while editing, dismiss focus on outside clicks and navigation, and guard deferred focus against hidden inputs. Add Qt Quick regression coverage.

Refs #753

cx
Accumulate wheel distance with short easing instead of kinetic acceleration. Preserve rapid and fractional wheel input, immediate direction changes, nested scroll chaining and scroll-memory takeover.

Validated with 38 Qt Quick tests and desktop smoke testing.

cx
Keep queue edits from resetting the playback clock, preserve Play next and Play later batches, and report observed renderer state and owned output telemetry. Guard duplicate-track gapless transitions by queue occurrence.

cx
Recover missing offline library entries, recognize cached-only libraries, and refresh availability after cache changes. Unify per-tab filters, compact the toolbar, and add reversible sort criteria with complete available purchase metadata.

cx
Add cancellable Quick Connect pairing and shared connection guards for Jellyfin and Subsonic. Bound connection attempts, validate library access before saving credentials, and report per-provider connection and synchronization status.

cx
Restore tray-aware close and quit confirmation, circular label covers, and missing label artist portraits. Publish artwork progressively, preload two grid rows, and skip redundant motion reports while preserving data refreshes.

Include regression tests and isolated artwork benchmarks. Verified Linux build, QML checks, and scrolling smoke tests.

cx
System default on macOS is the CoreAudio exclusive backend: with
`exclusive_mode` set, qbz-audio takes Hog Mode, pins the device and switches
its nominal rate to the track (PR #391, shipped in 1.2.11 and never removed).
The Tauri settings gated the toggle on `ALSA || (macos && SystemDefault)`;
the Slint port copied only the ALSA half, and fc0d35e then hid the row on
macOS on the premise that no backend there could honour it. So 2.0.x showed
a grey row and 2.1.0 none, while the DB flag still engaged Hog Mode.

- SettingsDoc publishes `backendIsCoreAudio` (macOS && System default); the
  row is visible and enabled on it. Linux and Windows are unchanged.
- The backend-switch cascade goes through one predicate
  (`output_labels::backend_honours_exclusive`), so re-selecting Auto or
  System default on macOS no longer clears the flag.
- The output LED reads EXCL on macOS System default + exclusive_mode instead
  of DEFAULT while the device is hogged.
- Node test `scripts/test_qt_exclusive_gate.mjs` evaluates the row's real
  gate expressions across platforms; added to qt-runtime-gate.sh. Rust tests
  cover the predicate, the LED and the serde name QML reads.

Verified by smoke on the Mac mini with a USB DAC: the row appears, Hog Mode
is acquired, and browser audio moves to the built-in speakers while QBZ
plays. qbz-qt suite 782/782 on Linux; 13/13 with cfg(macos) on the Mac.

cc
The TUI cascade cleared `exclusive_mode` on any non-ALSA backend. On macOS
System default honours it through CoreAudio Hog Mode, so mirror the Qt
shell's cascade (#748): the flag survives onto ALSA and, on macOS, System
default; every other backend still resets it. The platform is a parameter so
the macOS arm runs on the Linux gate.

cc
…OLLERR (#660)

cpal 0.17's ALSA worker reports `alsa::poll() returned POLLERR` and polls
again immediately, without snd_pcm_recover: a PCM left in XRUN/SUSPENDED/
DISCONNECTED (CPU starvation at a track change on a Pi, a suspend, a pulled
cable) becomes a tight loop that never plays again until the stream is
dropped. rodio's default callback eprintln!s every one of them, which is the
POLLERR flood in the issue. The System default and PipeWire routes installed
no error callback at all, and nothing rebuilt a wedged stream.

- New qbz-audio::stream_health: classify (Wedged vs Transient), a flood
  limiter (one log line per 5s window with a suppressed count), a wedge
  latch, and one shared error_callback installed on every CPAL route
  (System default x4, PipeWire, ALSA) and the legacy player path.
- The audio thread checks the wedge latch at the TOP of its loop, every
  iteration, not in the recv_timeout Timeout arm: under QConnect the
  renderer-state command flow keeps recv returning Ok(...) and the Timeout
  arm barely runs, which left a wedged worker spinning a core for ~22s.
  On a wedge it drops the stream (joining cpal's worker), and when playing
  rebuilds and resumes at the current position; a second wedge within a 10s
  backoff releases the device and stops instead of looping.

Bit-perfect paths (ALSA Direct, DSD, WASAPI) are untouched; they never use
cpal's worker. The low-memory profile from 2.1.0 already addressed the exit
137 OOM; this is the separate flood/wedge half.

Verified on a Pi 4B + HiFiBerry DAC+ over the System default route with a
192 kHz 835 MB track and SIGSTOP-induced wedges: rebuild+resume in ~40 ms,
auto-recovery after the backoff, release+stop on a repeat wedge, and 7
POLLERR log lines instead of a flood. qbz-audio 125 and qbz-player 139 tests
pass; new stream_health and wedge_recovery tests included.

cc
… per-tab filters

- Homologate the three Library header selects to the ambient Group style; Sort
  gains an arrow-down-up glyph, a "Sort" placeholder and an explicit Default,
  and every select's border clears when it returns to its default value.
- Seekbar fluidity: a drag scrubs locally and commits a single seek on release;
  the time readout is a floating opaque tooltip reparented to the overlay so the
  content-frame shadow no longer bleeds noise over it.
- Route the NowPlayingBar info button and title to the LOCAL track-info modal
  for a local row, so a local track no longer opens an empty Qobuz modal.
- App menu shows each entry's shortcut (muted, smaller, right-aligned, resolved
  per platform — Cmd on macOS, Ctrl elsewhere) and gains a Quit entry; the
  keyboard-shortcuts modal adds Close Window and Quit under Navigation, moves
  Immersive below Interface, and tightens row heights. i18n for Quit/Close
  Window across all eight locales.
- Persist each Library tab's filter toggles to disk, independently per tab.

cc
- Remove from playlist did nothing for a Qobuz row. The membership-id split
  made a row's display id (the catalog id QML sends) differ from its
  playlist_track_id (the membership id), but remove_track still matched the
  open document and called playlist/deleteTracks by the catalog id, so the
  lookup found nothing and the endpoint got a non-membership id. Resolve the
  catalog id to the row's membership id, remove exactly that row, and delete by
  membership; same-catalog duplicates keep their other copy. The local and
  mixed-sidecar arms were already correct. Verified by smoke test. (#764)
- Media-server rows (Jellyfin, Subsonic/Navidrome and Plex) showed no cover in
  the playlist TrackRow while the queue and NowPlayingBar did. The row fed
  cached_path the raw artwork token, which classify cannot resolve, whereas the
  queue namespaces it through portable_artwork_ref. Build the row cover from
  that same ref, and warm uncached covers on the local-playlist load (the Qobuz
  loader already did) so the cover appears without playing the track.

cc
New named one-time Ko-fi supporter. Anonymous entries are not recorded.

cc
Bundles the header-select homologation, seekbar fluidity, per-platform app-menu
and keyboard shortcuts, per-tab Library filter persistence, the local track-info
routing, the playlist removal and remote-cover-art fixes, and a Ko-fi credit.
All verified by smoke test.

cc
Maxou56800 and others added 27 commits September 16, 2026 23:58
Restore hidden windows from Dock/Finder and add a macOS-only Dock visibility setting. Share the app background with the miniplayer, improve theme contrast and translucent controls, and allow dragging from artwork and free areas.

Bump the workspace version to 2.1.2. Add lifecycle and miniplayer regression coverage. Linux release, QML software/OpenGL tests and isolated startup passed; native macOS validation remains pending.

Refs #792, #793

cx
The modal fetched the matching GitHub release and rendered its markdown, and
it only ever opened from the hamburger menu, so the release's headline changes
reached nobody who did not go looking for them. It now opens on the curated
deck for the running version: five cards, each one screenshot collage plus a
title, two lines and a button that closes the modal and lands on the setting it
just described. The rendered release notes become the deck's last card, so
nothing is lost and a version without a deck opens straight into them.

The cards' text lives in Rust and travels to the eight catalogs as ordinary
msgids; the artwork carries no text, so one set of images serves every locale.
The scrim over the art is painted by QML rather than baked in, which keeps the
contrast in both themes. Card changes are instant and there is no auto-advance:
a continuous transition would present the whole window for its duration, and
the repaint-pulse contract reserves that for the shared shell pulse.

Dismissing the deck records the running version, so it opens by itself exactly
once; the hamburger row reopens it at any time.

cc
Tag details and changelog for 2.1.2, from the 162 commits since v2.1.1:
playback memory profiles, rebuilt volume normalization, the Storage section,
the Qobuz Connect hardening round and the quality-of-life pass, with the fixes
grouped by area.

cc
…too (#795)

Clears local_playback_conflict_pending in the success branch of the local-playing takeover, matching the abandon and failure branches beside it.

Defensive reinforcement, not the root cause: both hosts already clear that flag when the takeover publish succeeds (qbz-qt/src/qconnect_qt.rs, qbzd/src/qconnect/publish.rs, since f6e1c4e), and the fence that actually kept dropping renderer commands after a reconnect was the takeover echo never being confirmed, fixed in bca7983 by confirming it through its own action uuid. Holding the invariant in the shared session loop as well means a host that stops clearing it, or a new host, cannot reintroduce the stuck fence.

Reported and verified against the official Android client by Maxime Berthault.
…usel branch

Pulled in so the next What's New build carries it for the owner's smoke.

cc
…hange

The human who signs a commit is its author and is responsible for it. Models
are disclosed in the PR body and never added as co-authors, because credit
without accountability is worth nothing: an agent cannot answer a review
comment six months from now.

Spells out what that means for the three things contributors send. Findings
are welcome verified or not, as long as the report says plainly what was
observed and what was not reproduced. Fixes must be verified by the person
sending them, with what they ran and what they saw. A generated code review is
not a review: submitting an unfiltered list moves the work of separating real
from imaginary onto the maintainer.

cc
The deck's art is 16:9 and the image covers its box, so at 820 wide the box sat
near 1.34 and Qt cropped roughly a quarter of every frame's width — taking with
it what the right edge of a screenshot is there to show, such as the renderer
name on the iOS capture. At 1040 the box lands near 1.72 and the crop all but
disappears.

The release notes ride in the same panel and are prose, so their column is
capped at 720 and centred; a line that spans the full 1040 reads measurably
worse. Narrow windows keep the full width.

cc
The owner's copy, verbatim in English, translated into the other seven. The
deck now says what each card is for instead of announcing that a menu moved:
the settings card invites the reader into Settings, the cache card hands the
choice to them, and the Connect card says out loud that the feature is still
being worked on.

The loudness card's title reuses the existing "Volume normalization" msgid
rather than adding a near-identical string, so the card and the Audio settings
label can never drift apart. Adding a second spelling of it is a duplicate
definition, which msgfmt rejects outright.

cc
The local-playback conflict fence released in the shared session loop (#795),
reported and verified against the official Android client.

cc
The shared-layer conflict fence (#795) reaches the release notes beside the
QConnect fixes it belongs with, and the README contributor list gains its line.

cc
A visual deck that opens once per version, its five cards written by the owner
and translated into all eight locales, a panel wide enough that the card art is
no longer cropped, and the release notes capped to a readable measure inside it.

Carries the authorship-and-responsibility statement for README and CONTRIBUTING,
and credits Maxou56800 in the About chips, the README list and the 2.1.2 notes.

cc
The specification types ids as strings and Navidrome, Gonic and Airsonic send
them that way, so the song rows deserialized them as `String`. Funkwhale sends
integers: the album list already tolerated both through `json_id`, the song
rows did not, and a pod connected, listed its albums and then aborted the whole
library sync with "invalid type: integer 2059, expected a string".

Ids, album ids and cover-art tokens now accept either shape and normalize to
text; the value is opaque to this client and only ever travels back in a query
string. A numeric `coverArt` in an album row also stopped resolving, which cost
that album its cover in silence.

Verified by unit test with a Funkwhale-shaped payload; string ids map exactly
as before.

cc
The workspace version and the release documents landed with their own changes;
this adds the metainfo release entry the Flathub manifest and the software
centres read. Snap is stamped from the tag and needs no edit.

cc
The Dock-hiding policy read the tray settings through `.get()`, which does not
exist on `TraySettingsState`; the method is `get_settings()`, as the same file
already calls it twelve lines above. The call sits inside a macOS cfg block, so
Linux and Windows compiled cleanly and only the two macOS release legs failed.

Verified by a release build on the Mac mini.

cc
Version and both per-arch tarball hashes, computed with nix-prefetch-url from
the published assets at their final release URLs.

cc
@afonsojramos
afonsojramos merged commit 07593b2 into main Nov 11, 2026
9 of 19 checks passed
@afonsojramos
afonsojramos deleted the release/main-2.2.0 branch November 11, 2026 13:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants