diff --git a/CHANGELOG-PUBLIC.md b/CHANGELOG-PUBLIC.md index fd9b0ac..2d373f0 100644 --- a/CHANGELOG-PUBLIC.md +++ b/CHANGELOG-PUBLIC.md @@ -2,6 +2,12 @@ User-facing changes only, grouped by date under Added / Improved / Fixed. +## 0.6.1 — 2026-11-24 + +### Fixed + +- The pointer no longer freezes on the capture screen on some graphics cards. + ## 0.6.0 — 2026-11-21 ### Added diff --git a/apps/desktop/package.json b/apps/desktop/package.json index b412506..b356ceb 100644 --- a/apps/desktop/package.json +++ b/apps/desktop/package.json @@ -1,6 +1,6 @@ { "name": "@snaphub/desktop", - "version": "0.6.0", + "version": "0.6.1", "private": true, "type": "module", "scripts": { diff --git a/apps/desktop/src-tauri/Cargo.lock b/apps/desktop/src-tauri/Cargo.lock index 9091400..60a0327 100644 --- a/apps/desktop/src-tauri/Cargo.lock +++ b/apps/desktop/src-tauri/Cargo.lock @@ -616,7 +616,7 @@ dependencies = [ [[package]] name = "capkit-desktop" -version = "0.6.0" +version = "0.6.1" dependencies = [ "ab_glyph", "arboard", diff --git a/apps/desktop/src-tauri/Cargo.toml b/apps/desktop/src-tauri/Cargo.toml index a3856e7..020269e 100644 --- a/apps/desktop/src-tauri/Cargo.toml +++ b/apps/desktop/src-tauri/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "capkit-desktop" -version = "0.6.0" +version = "0.6.1" description = "CapKit lightweight desktop toolkit to capture, record, and showcase" authors = ["CapKit"] edition = "2024" diff --git a/apps/desktop/src-tauri/src/lib.rs b/apps/desktop/src-tauri/src/lib.rs index e137e0c..80d8c81 100644 --- a/apps/desktop/src-tauri/src/lib.rs +++ b/apps/desktop/src-tauri/src/lib.rs @@ -3667,6 +3667,29 @@ mod window_config_tests { assert_eq!(capture["decorations"].as_bool(), Some(false)); } + /// An opaque, monitor-sized, always-on-top window lets Windows hand it straight to the + /// GPU (independent flip / multiplane overlay). On some drivers the pointer then stops + /// updating over the capture overlay until something forces composition (a screen + /// recording fixed it). A transparent window always goes through DWM composition, the + /// same as the on-screen drawing window, whose pointer never froze. The page still paints + /// an opaque background and the frozen snapshot, so nothing shows through. + #[test] + fn capture_window_is_transparent_so_dwm_always_composes_it() { + let config: tauri::utils::config::Config = + serde_json::from_str(include_str!("../tauri.conf.json")) + .expect("Tauri config should parse"); + let capture = config + .app + .windows + .iter() + .find(|window| window.label == "capture") + .expect("Tauri config should contain a capture window"); + + assert!(capture.transparent); + assert!(capture.always_on_top); + assert!(!capture.visible); + } + /// Reopening the dashboard after Close rebuilds it from this same entry; it must stay /// undecorated (the page draws its own title bar) and transparent (for the glass). #[test] diff --git a/apps/desktop/src-tauri/tauri.conf.json b/apps/desktop/src-tauri/tauri.conf.json index d7a1844..bbb8624 100644 --- a/apps/desktop/src-tauri/tauri.conf.json +++ b/apps/desktop/src-tauri/tauri.conf.json @@ -1,7 +1,7 @@ { "$schema": "https://schema.tauri.app/config/2", "productName": "CapKit", - "version": "0.6.0", + "version": "0.6.1", "identifier": "com.snaphub.desktop", "build": { "beforeDevCommand": "pnpm dev", @@ -34,7 +34,7 @@ "fullscreen": false, "decorations": false, "shadow": false, - "transparent": false, + "transparent": true, "resizable": false, "alwaysOnTop": true, "skipTaskbar": true, diff --git a/package.json b/package.json index ceeea5c..38fff24 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "snaphub", - "version": "0.6.0", + "version": "0.6.1", "private": true, "packageManager": "pnpm@11.14.0", "scripts": {