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: always show screenpipe in Windows taskbar (both modes)
Louis Beaumonte1fdd2fd70de
diff --git a/apps/screenpipe-app-tauri/src-tauri/src/window_api.rs b/apps/screenpipe-app-tauri/src-tauri/src/window_api.rsindex 681222bc3..ce139d433 100644--- a/apps/screenpipe-app-tauri/src-tauri/src/window_api.rs+++ b/apps/screenpipe-app-tauri/src-tauri/src/window_api.rs@@ -1109,12 +1109,6 @@ impl ShowRewindWindow {let settings = SettingsStore::get(app).unwrap_or_default().unwrap_or_default();- // On Windows, always use "window" mode so the app stays in the- // taskbar. The fullscreen transparent overlay doesn't make sense- // as a taskbar entry and hide() removes it from the taskbar entirely.- #[cfg(target_os = "windows")]- let overlay_mode = "window".to_string();- #[cfg(not(target_os = "windows"))]let overlay_mode = settings.overlay_mode;#[allow(unused_variables)] // used only on macOSlet show_in_recording = settings.show_overlay_in_screen_recording;diff --git a/apps/screenpipe-app-tauri/src-tauri/src/windows_overlay.rs b/apps/screenpipe-app-tauri/src-tauri/src/windows_overlay.rsindex a7c2e0503..fce581f1a 100644--- a/apps/screenpipe-app-tauri/src-tauri/src/windows_overlay.rs+++ b/apps/screenpipe-app-tauri/src-tauri/src/windows_overlay.rs@@ -15,8 +15,9 @@ use windows::Win32::UI::WindowsAndMessaging::{};/// Extended window styles for overlay behavior-/// Note: Removed WS_EX_NOACTIVATE so window can receive keyboard focus for shortcuts-const OVERLAY_EX_STYLE: i32 = (WS_EX_LAYERED.0 | WS_EX_TOOLWINDOW.0) as i32;+/// Note: WS_EX_TOOLWINDOW removed so the app always appears in the Windows+/// taskbar. WS_EX_NOACTIVATE also removed so window can receive keyboard focus.+const OVERLAY_EX_STYLE: i32 = WS_EX_LAYERED.0 as i32;const CLICK_THROUGH_STYLE: i32 = WS_EX_TRANSPARENT.0 as i32;/// Retrieves the HWND from a Tauri WebviewWindow