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 Accessory mode for chat/window-mode, no reset
Louis Beaumont4a64fd1a9807
diff --git a/apps/screenpipe-app-tauri/src-tauri/src/window_api.rs b/apps/screenpipe-app-tauri/src-tauri/src/window_api.rsindex 7be4fed6b..64995bda2 100644--- a/apps/screenpipe-app-tauri/src-tauri/src/window_api.rs+++ b/apps/screenpipe-app-tauri/src-tauri/src/window_api.rs@@ -684,8 +684,11 @@ impl ShowRewindWindow {#[cfg(target_os = "macos")]let window = {- // Created invisible — panel setup below will show it- // on the correct Space via activation + order_front.+ // Accessory mode is required for new windows to appear+ // on fullscreen Spaces. We do NOT reset to Regular+ // (that causes Space jumping). The tray icon handles+ // all user interactions; dock icon is cosmetic.+ let _ = app.set_activation_policy(tauri::ActivationPolicy::Accessory);let builder = self.window_builder_with_label(app, "/", main_label_for_mode("window")).title("screenpipe").inner_size(1200.0, 800.0)@@ -1155,9 +1158,9 @@ impl ShowRewindWindow {ShowRewindWindow::Chat => {#[cfg(target_os = "macos")]let window = {- // Create invisible — the panel setup below will show it- // on the correct Space via MoveToActiveSpace + activation.- // No Accessory mode needed (avoids Space-jump on reset).+ // Accessory mode required for new windows on fullscreen Spaces.+ // No reset to Regular (causes Space jumping).+ let _ = app.set_activation_policy(tauri::ActivationPolicy::Accessory);let builder = self.window_builder(app, "/chat").inner_size(500.0, 650.0).min_inner_size(400.0, 500.0)