YC (S26) | Open Computer History | Continuously record your company computer work, map your workflows, help you find work worth automating, and power your agents' context
Rust agentsagiaiai-memoryaudio-recordingcomputer-visionhermeshermes-agentllmlocal-ailocal-firstmachine-learningmcpmultimodalopenclawprivacyrewindscreen-recordingspeech-to-textycombinator
fix(macos): restore overlay shortcut behavior (Cmd+Ctrl+S/K)
Louis Beaumont9efa38a6a389
diff --git a/apps/screenpipe-app-tauri/src-tauri/Cargo.toml b/apps/screenpipe-app-tauri/src-tauri/Cargo.tomlindex f0d9971f3..847c76298 100644--- a/apps/screenpipe-app-tauri/src-tauri/Cargo.toml+++ b/apps/screenpipe-app-tauri/src-tauri/Cargo.toml@@ -1,6 +1,6 @@[package]name = "screenpipe-app"-version = "2.2.77"+version = "2.2.78"description = "24/7 memory for your desktop. 100% local."authors = ["you"]license = ""diff --git a/apps/screenpipe-app-tauri/src-tauri/src/commands.rs b/apps/screenpipe-app-tauri/src-tauri/src/commands.rsindex 3dd6ec390..cda8108c4 100644--- a/apps/screenpipe-app-tauri/src-tauri/src/commands.rs+++ b/apps/screenpipe-app-tauri/src-tauri/src/commands.rs@@ -79,12 +79,19 @@ pub fn set_tray_health_icon(app_handle: tauri::AppHandle) {#[tauri::command]#[specta::specta]pub fn show_main_window(app_handle: &tauri::AppHandle, _overlay: bool) {- info!("show_main_window called, attempting to show Settings window");+ // macOS: show the overlay panel (NSPanel) on top of fullscreen apps+ // Windows: show the settings/home window (no overlay support)+ #[cfg(target_os = "macos")]+ let window_to_show = ShowRewindWindow::Main;+ #[cfg(not(target_os = "macos"))]+ let window_to_show = ShowRewindWindow::Settings { page: None };++ info!("show_main_window called");- match (ShowRewindWindow::Settings { page: None }).show(app_handle) {+ match window_to_show.show(app_handle) {Ok(window) => {info!(- "ShowRewindWindow::Main.show succeeded, window label: {}",+ "show_main_window succeeded, window label: {}",window.label());// Don't call set_focus() on macOS — both overlay and window modes use@@ -118,8 +125,14 @@ pub fn hide_main_window(app_handle: &tauri::AppHandle) {// handler in window_api.rs. Do NOT also unregister them here — doing// so races with the focus handler and causes duplicate unregister calls.- if let Err(e) = (ShowRewindWindow::Settings { page: None }).close(app_handle) {- error!("failed to close settings window: {}", e);+ // macOS: close the overlay panel; Windows: close the settings window+ #[cfg(target_os = "macos")]+ let window_to_close = ShowRewindWindow::Main;+ #[cfg(not(target_os = "macos"))]+ let window_to_close = ShowRewindWindow::Settings { page: None };++ if let Err(e) = window_to_close.close(app_handle) {+ error!("failed to close window: {}", e);}}