Release Kaleido Desktop 0.1.0-beta.12
All checks were successful
Validate Kaleido Desktop / validate (push) Successful in 1m22s

On Windows the miniplayer is now a window of its own (mini.rs, mini.html):
a borderless window owned by the main one that the video moves into
(VideoSurface::set_host swaps composition targets in one commit). Dragging
moves the whole window, so video and controls move together with no edge
flicker; release glides it to the nearest corner or the one it's flicked
towards, remembered, and it follows the main window. Its page mirrors the
player over events (mini:state / mini:action). Shown and hidden natively
without activation, so the main window keeps focus. macOS keeps the
in-page miniplayer.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Elijah 2026-11-04 17:35:08 -07:00
parent c3d2f4b6a7
commit 8ed44c2fe4
22 changed files with 871 additions and 26 deletions

View file

@ -82,8 +82,17 @@ into the display's HDR headroom; SDR video returns both to their defaults.
on demand. Timeline reports every 10 seconds (and when playback stalls) make the session appear in
Plex; a reply carrying a termination (the server owner stopped the stream) stops
playback and shows their message. The title is marked watched at the configured percentage. The player's back arrow (or Esc)
shrinks playback into a miniplayer: the video is drawn in a corner rectangle and the
interface stays visible around it, with a matching hole masked out of the page
shrinks playback into a miniplayer. On Windows it is a window of its own
(`src-tauri/src/mini.rs`, page `mini.html` → `src/mini/`): a small borderless window
owned by the main one, which the video moves into (`VideoSurface::set_host`, one
composition target per window, swapped in a single commit). Dragging moves that whole
window, so video and controls never drift apart; letting go glides it to a corner of
the main window (or the one it's flicked towards), and it follows the main window as
that moves or resizes. Its page mirrors the player from the main window and sends its
buttons back (`player/miniWindow.ts`, events `mini:state` / `mini:action`). The video
moves into it once the main page is opaque again, and back before the page turns
transparent, so neither window flashes. On macOS the miniplayer stays inside the page:
the video is drawn in a corner rectangle with a matching hole masked out of the page
(`html.player-mini`).
- **Upscaling** (`player/enhance.ts`): Performance and Balanced set mpv's scalers and
debanding and load shaders bundled from `src-tauri/shaders/` (FSRCNNX 16, nlmeans,