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(window): hide title text on every webview that has a title bar
Louis Beaumontc42af57d5f62
diff --git a/apps/screenpipe-app-tauri/src-tauri/src/commands.rs b/apps/screenpipe-app-tauri/src-tauri/src/commands.rsindex 269792975..4ebf983ab 100644--- a/apps/screenpipe-app-tauri/src-tauri/src/commands.rs+++ b/apps/screenpipe-app-tauri/src-tauri/src/commands.rs@@ -655,7 +655,8 @@ pub async fn open_pipe_window(}let url = format!("http://localhost:{}", port);- let window = match tauri::WebviewWindowBuilder::new(+ #[allow(unused_mut)]+ let mut builder = tauri::WebviewWindowBuilder::new(&app_handle,&title,tauri::WebviewUrl::External(url.parse().unwrap()),@@ -664,9 +665,16 @@ pub async fn open_pipe_window(.inner_size(1200.0, 850.0).min_inner_size(600.0, 400.0).focused(true)- .fullscreen(false)- .build()- .map(crate::window::finalize_webview_window)+ .fullscreen(false);++ #[cfg(target_os = "macos")]+ {+ builder = builder.hidden_title(true);+ }++ let window = match builder+ .build()+ .map(crate::window::finalize_webview_window){Ok(window) => window,Err(e) => {diff --git a/apps/screenpipe-app-tauri/src-tauri/src/window/show.rs b/apps/screenpipe-app-tauri/src-tauri/src/window/show.rsindex 7a65569eb..4e3fbc5a8 100644--- a/apps/screenpipe-app-tauri/src-tauri/src/window/show.rs+++ b/apps/screenpipe-app-tauri/src-tauri/src/window/show.rs@@ -143,6 +143,15 @@ impl ShowRewindWindow {.min_inner_size(min.0, min.1);}+ // Hide title text on macOS for every window built through this helper.+ // Title bar stays opaque (no Overlay style) so content doesn't bleed+ // under the traffic lights — sibling helper window_builder() opts into+ // Overlay where it's wanted.+ #[cfg(target_os = "macos")]+ {+ builder = builder.hidden_title(true);+ }+builder}