Polish Library browsing and wallpaper playback handoffs

Merged
TE
2mo ago
+1640-311

Library browsing now uses one persistent selection and inspector, isolated playback previews, toolbar search/import, and current-wallpaper controls. Hovering or browsing never changes the desktop. Search and thumbnail work are bounded, and stale preview results are discarded.

Wallpaper fixes preserve framing in Metal, keep the native backdrop visible until the first complete video frame, and improve menu-strip recovery and presentation diagnostics. The latest main media/framing changes are reconciled.

Review boundaries

  • Merge #113 first (build tooling), then this PR.
  • Native wallpaper discovery was extracted to draft #114; it is not a dependency of this product change.
  • Historical commits are preserved; review the Files changed diff against the new base. No force-push or branch deletion was used.

Validation

The reconciled app was rebuilt and relaunched. Earlier full tests and targeted smoke checks are documented in docs/desktop-usability-qualification.md; post-reconciliation ./test.sh and --smoke-home both passed. Desktop reveal works according to the user; further work focuses on launch/replacement readiness and failure/cancellation behavior. Physical menu-strip parity and energy claims remain limited to the documented evidence.

Related queue

#63 is superseded by the bookmark-aware inferredMediaType implementation here. #61 overlaps first-frame handling but its Standard-renderer path still needs reconciliation; #62 remains its child. Preserve the other independent feature stacks (#78→#87, #72→#86→#94, #73→#93, #71→#76) rather than folding them into this PR. #89 is an older Home/Displays/Ambient integration umbrella and needs a separate audit against current main before closure or replacement.

Launch and replacement qualification

Candidates now prepare invisible, muted, and noninteractive before adoption/crossfade. Failed and cancelled candidates leave working playback intact; Home shows Loading while preserving the current title and controls. Final checks passed for real Hina shared-video preparation, decoder failure/teardown, late cancelled sources, failed selection retention, and Home smoke. Final UI shows Hina playing with sound off. See the September 13 audit in docs/desktop-usability-qualification.md for evidence and limits.