Skip to content

fix(capture): pointer freezes on the capture screen (v0.6.1) - #14

Merged
imnakul merged 2 commits into
masterfrom
fix/capture-cursor-freeze
Nov 24, 2026
Merged

imnakul merged 2 commits into
masterfrom
fix/capture-cursor-freeze

Conversation

@imnakul

@imnakul imnakul commented Nov 24, 2026

Copy link
Copy Markdown
Owner

Summary

  • The capture window was opaque, monitor-sized and always on top, so Windows could hand it straight to the GPU (independent flip). On some drivers (seen on an AMD RX 9060 XT) the pointer stopped updating over the capture overlay while detection still followed the mouse, and the state survived app restarts.
  • Starting any screen recording forced DWM composition and the pointer moved again, which confirmed the cause.
  • Fix: make the capture window transparent, like the Draw on screen window (which never froze). The page still paints an opaque background and the snapshot, so it looks the same.
  • Bumps the version to 0.6.1.

Tests

  • New config test capture_window_is_transparent_so_dwm_always_composes_it.
  • typecheck, lint, vitest (690), cargo fmt/clippy/test pass.
  • Manual: not yet run in a built app. Check that the capture pointer moves without a recording running, and that the capture screen opens with no desktop flash or black frame.

🤖 Generated with Claude Code

imnakul and others added 2 commits November 24, 2026 14:48
The capture window was opaque, monitor-sized and always on top, so Windows
could hand it straight to the GPU (independent flip). On some drivers the
pointer then stopped updating over the overlay until something forced DWM
composition; a running screen recording made it move again. Make the window
transparent like the on-screen drawing window so DWM always composes it. The
page still paints an opaque background and the snapshot, so it looks the same.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@vercel

vercel Bot commented Nov 24, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
snaphub Ready Ready Preview Nov 24, 2026 10:00am UTC

@imnakul
imnakul merged commit 92633b9 into master Nov 24, 2026
3 checks passed
@imnakul
imnakul deleted the fix/capture-cursor-freeze branch November 26, 2026 06:40

This branch was successfully deployed

1 active deployment
Preview — b11353ab Deployed Nov 24, 2026 by vercel[bot]
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.

1 participant