You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug][macOS] Invisible transparent area above the floating recording controls blocks clicks on apps underneath #3357
While recording, the floating controls bar blocks mouse clicks in a large invisible region around the visible bar, not just on the bar itself. UI of apps underneath becomes unclickable in that area, as if the controller window has an invisible margin.
Steps to reproduce
Start a screen recording in Cap on macOS — the floating controls bar appears near the bottom of the screen.
With another app behind it, try clicking something in that app directly above the visible bar (within roughly 110 px), where nothing from Cap is visibly rendered.
The click is swallowed by Cap's controls window instead of reaching the app.
Expected behavior
Only the visible controls card should capture mouse input; the transparent parts of the window should pass clicks through to whatever is underneath.
Actual behavior
An invisible ~320×110 px region (the full controls window minus the 40 px visible card) intercepts all clicks.
Environment
Cap 0.6.1 (native macOS app)
macOS 27.0.1 (Apple Silicon)
Analysis
open_controls() in apps/desktop-gpui/src/app_windows.rs (~line 6696) opens the controls window as a 320×150 transparent PopUp window (CONTROLS_WIDTH / CONTROLS_HEIGHT, lines 42–43) with WindowBackgroundAppearance::Transparent. However, the visible bar is only a 40 px-tall card hugging the bottom of that window (apps/desktop-gpui/src/controls_window.rs, see the module docs and render_bar()'s .h(px(40.))).
Nothing restricts hit-testing to the visible card, so the transparent remainder of the window (the top ~110 px, plus padding) still receives mouse events and blocks clicks on apps underneath.
This looks like the same class of bug as #1523 ("prewarmed overlay blocking clicks by ignoring cursor events"), which was fixed in the old Tauri app via set_ignore_cursor_events. The GPUI migration appears to have reintroduced the pattern for the controls window.
Possible fixes
Size the window down to hug the visible card (40 px + padding) instead of 150 px tall, resizing when the error banner is shown, or
I put together a fix in #3429 and tried it on macOS 15.7 (Apple Silicon): clicks above the bar reach the app underneath, and the bar, tooltip and warning banner all still work. Sharing in case it's useful.
Activity
linear commentedon Oct 26, 2026
CAP-931
nikhilanu commentedon Oct 26, 2026
I put together a fix in #3429 and tried it on macOS 15.7 (Apple Silicon): clicks above the bar reach the app underneath, and the bar, tooltip and warning banner all still work. Sharing in case it's useful.
richiemcilroy commentedon Nov 4, 2026
This was fixed in #3509, which shipped in 0.6.2. Closing, but reopen if you still see it on the latest version.