Keep macOS control overlays above other apps - #551
Conversation
Greptile SummaryThis change centralizes macOS overlay-window configuration and applies it to the cursor, crosshair, and modifier overlays. The shared configuration raises overlays to the screen-saver window level, retains them when Switchify loses focus, and enables display across Spaces and fullscreen applications. T-Rex validation blockedNative AppKit behavior could not run because this host is Linux and lacks the macOS SDK, Confidence Score: 5/5No functional defect was identified in the changed code; native macOS behavior should still be exercised on a macOS machine before release. There are no final review findings. The shared configuration is applied consistently to both native panel overlays and the modifier webview, but the host could not execute AppKit behavior. Files Needing Attention: Manual macOS verification should cover src-tauri/src/macos_overlay_window.rs, src-tauri/src/overlay_macos.rs, and src-tauri/src/modifier_overlay.rs, including inactive-app, Spaces, and fullscreen behavior.
What T-Rex did
Reviews (1): Last reviewed commit: "fix: keep macOS overlays topmost" | Re-trigger Greptile |
Closes #550
What changed
Why
The native cursor panels used status-window level while the modifier webview relied on Tauri's generic always-on-top setting. Higher-level application and system UI could therefore obscure control feedback.
Validation
npm run lintnpm test(40 passed)npm run buildcargo fmt --manifest-path src-tauri/Cargo.toml --checkcargo clippy --manifest-path src-tauri/Cargo.toml --all-targets -- -D warningscargo test --manifest-path src-tauri/Cargo.toml(131 passed)npm run macos:run; signed bundle verified and launched with the stable Switchify PC Development identity