From 0eb8518927884adbe0578f774b1ec0d388fefcd5 Mon Sep 17 00:00:00 2001 From: Elijah Date: Wed, 4 Nov 2026 16:40:39 -0700 Subject: [PATCH 01/28] Publish the 0.1.0-beta.10 update feed (Windows) Co-Authored-By: Claude Opus 5.5 --- updates/latest.json | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/updates/latest.json b/updates/latest.json index 694bbbb..61e5ea0 100644 --- a/updates/latest.json +++ b/updates/latest.json @@ -1,15 +1,11 @@ { - "version": "0.1.0-beta.9", - "notes": "Fixes for the Mac version.\r\n\r\n- Regular (SDR) video no longer looks washed out on Mac; HDR was unaffected.\r\n- Downloaded titles show their artwork again on Mac.", - "pub_date": "2026-11-03T01:35:29.741Z", + "version": "0.1.0-beta.10", + "notes": "A redesigned player control bar, previous episode, and a movable miniplayer.\r\n\r\n- The player's controls are rearranged the way most media players lay them out: play/pause sits in the centre under the timeline, with 10-second skips either side and previous/next episode beyond those. Volume and the time are on the left; subtitles, settings and full screen stay on the right.\r\n- New previous-episode button (and Shift+P) to go back an episode. For episodes both buttons always show, dimmed at the start or end of a show, so play/pause stays put.\r\n- The miniplayer can be dragged anywhere in the window. It stays inside the window when it's resized, and remembers where you left it.\r\n- Fixed: the Play now and Cancel buttons on the next-episode card during the credits couldn't be clicked (the player's title row covered them). The Skip intro/credits button had the same problem with tall show logos.\r\n- Fixed: clicking Skip intro or Skip credits also paused the video.\r\n- The featured titles at the top of Home, Movies and TV Shows no longer carry a \"Highly rated\" / \"Recommended\" label, and their logo has room above the details line instead of touching it.", + "pub_date": "2026-11-04T23:40:38.984Z", "platforms": { "windows-x86_64": { - "signature": "dW50cnVzdGVkIGNvbW1lbnQ6IHNpZ25hdHVyZSBmcm9tIHRhdXJpIHNlY3JldCBrZXkKUlVST1RiNHdFVm01NGZYWUFzbDhuNG5XNW41dU56QzZ2RjV4ZzFOanN2VTlqQTJXRDlObitYT2VYTEljZ0dVaEx2bkY3TFNrRGxtMWJVbU5Md3UrQUtjY1JQSGc2V3dnTWdNPQp0cnVzdGVkIGNvbW1lbnQ6IHRpbWVzdGFtcDoxNzkzNjY5NTc0CWZpbGU6S2FsZWlkb18wLjEuMC1iZXRhLjlfeDY0LXNldHVwLmV4ZQl2ZXJzaW9uOjAuMS4wLWJldGEuOQpyUnY4YWJ2NzAweHoyR3NKQ3Y3RkdhREg2MHY4SEhWSXB4MVpPY1V4WkV1TVBwL3VtNTVVU3E3aVpUSllCaXV3R09xL3BhS1JyMUYxa0V5Qk4vUHlCdz09Cg==", - "url": "https://git.elijahkuntz.com/Elijah/Kaleido-Desktop/releases/download/v0.1.0-beta.9/Kaleido_0.1.0-beta.9_x64-setup.exe" - }, - "darwin-aarch64": { - "signature": "dW50cnVzdGVkIGNvbW1lbnQ6IHNpZ25hdHVyZSBmcm9tIHRhdXJpIHNlY3JldCBrZXkKUlVST1RiNHdFVm01NGFHNnV2UlBzVWxvUjNObzhQQkJXd05vRzc0TVN6ZktNbnBnYXF6emZDdHpwMkFWVDE0cGF6UFMyUTgxVnVTNFFqMVdISXdjNmRETWRSZ0RzcXdFVWc4PQp0cnVzdGVkIGNvbW1lbnQ6IHRpbWVzdGFtcDoxNzkzNjU5MDQ5CWZpbGU6S2FsZWlkby5hcHAudGFyLmd6CXZlcnNpb246MC4xLjAtYmV0YS45CmhGRGRzaW5VcUhiRmJ1TFVzV2FkQ1dydVRXSWwwRmVFMFhZWWVEMERuQi96MFFqeHNRVHZOSlRkeHJoZ3gwdGdQZWpEQ2d1ZWFEbStmR3J6cHQyY0RBPT0K", - "url": "https://git.elijahkuntz.com/Elijah/Kaleido-Desktop/releases/download/v0.1.0-beta.9/Kaleido_0.1.0-beta.9_aarch64.app.tar.gz" + "signature": "dW50cnVzdGVkIGNvbW1lbnQ6IHNpZ25hdHVyZSBmcm9tIHRhdXJpIHNlY3JldCBrZXkKUlVST1RiNHdFVm01NFRSWXh0T1ZKemFyYklQTkhhOVFRYVd6Nkh6cmlsV1JmalVOMVhtVlRhanFNZGlLd09ndFRRZzN1NnFYUVIrNm1aT3oydFAwYlBCdTF4em0xRENDU0EwPQp0cnVzdGVkIGNvbW1lbnQ6IHRpbWVzdGFtcDoxNzkzODM1NjEwCWZpbGU6S2FsZWlkb18wLjEuMC1iZXRhLjEwX3g2NC1zZXR1cC5leGUJdmVyc2lvbjowLjEuMC1iZXRhLjEwCmtPQkNGK2dQa1Y2OEp2ZTBSYTN0WWJNa2c2OU5BRkxlcEF1TzA0WkdhUmE1TEMxRDBmejViZlBkUTFZMmZ0UlpwWHBKVDN5ZHl5US9nRXJVSjlzU0FBPT0K", + "url": "https://git.elijahkuntz.com/Elijah/Kaleido-Desktop/releases/download/v0.1.0-beta.10/Kaleido_0.1.0-beta.10_x64-setup.exe" } } } From 4985f1dde06bda5d619d54c1cce43d452c36f2f7 Mon Sep 17 00:00:00 2001 From: Elijah Date: Wed, 4 Nov 2026 17:04:07 -0700 Subject: [PATCH 02/28] Release Kaleido Desktop 0.1.0-beta.11 Fix a UI-thread deadlock between the player and window resizes: player_rect held the video-surface lock while Tauri's hwnd() waited for the UI thread, and on_resize, running on the UI thread, waited for that lock. Leaving full screen for the miniplayer could freeze the window while mpv kept playing. Resize handling now runs off the UI thread, and the Windows surface keeps its HWND instead of asking the UI thread for it. Add local diagnostics: a watchdog writes a dump of every thread when the UI thread stops answering for 5 s, unhandled exceptions write a crash dump and log the faulting module (Windows), and panics are logged. Windows release builds keep function names in kaleido.pdb, archived per version in .tools/symbols/. Co-Authored-By: Claude Opus 5.5 --- CHANGELOG.md | 7 ++ docs/development.md | 26 +++++ package-lock.json | 4 +- package.json | 2 +- scripts/build.ps1 | 15 +++ src-tauri/Cargo.lock | 2 +- src-tauri/Cargo.toml | 7 +- src-tauri/src/diagnostics.rs | 158 ++++++++++++++++++++++++++++++ src-tauri/src/lib.rs | 9 +- src-tauri/src/platform/linux.rs | 10 ++ src-tauri/src/platform/macos.rs | 10 ++ src-tauri/src/platform/mod.rs | 1 + src-tauri/src/platform/windows.rs | 113 ++++++++++++++++++++- src-tauri/src/player.rs | 6 ++ src-tauri/tauri.conf.json | 2 +- 15 files changed, 362 insertions(+), 10 deletions(-) create mode 100644 src-tauri/src/diagnostics.rs diff --git a/CHANGELOG.md b/CHANGELOG.md index 7b83c7a..611b6d6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +## 0.1.0-beta.11 + +Fixes the app freezing when leaving full screen for the miniplayer, and adds local hang and crash reports. + +- Fixed: going back from the full-screen player to the miniplayer (or moving or resizing the miniplayer) could freeze the window — it turned see-through and "Not Responding" while the video kept playing. Two parts of the player were each waiting for the other when the window resized at the wrong moment. +- When the window stops responding for 5 seconds, or the app crashes, Kaleido now saves a report of what each part of the app was doing in its log folder (`%LOCALAPPDATA%\tv.kaleido.desktop\logs`), so a rare problem can be traced the first time it happens. Reports stay on your computer. + ## 0.1.0-beta.10 A redesigned player control bar, previous episode, and a movable miniplayer. diff --git a/docs/development.md b/docs/development.md index e7a98a0..7f2db78 100644 --- a/docs/development.md +++ b/docs/development.md @@ -47,6 +47,32 @@ Playback tests change real Plex progress; resume an in-progress title near its s position, or restore it afterwards. Selecting audio or subtitle tracks is saved to Plex for that file. +## Diagnostics + +`src-tauri/src/diagnostics.rs` writes to the app's log folder +(`%LOCALAPPDATA%\tv.kaleido.desktop\logs` on Windows); nothing is uploaded. + +- **Hangs**: a watchdog asks the UI thread to answer every second. After 5 seconds of + silence it writes `kaleido-hang-