Skip to content

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

fix(macos): explicitly show shortcut reminder window

Louis Beaumontbf11c067cff2
diff --git a/screenpipe-app-tauri/src-tauri/Cargo.lock b/screenpipe-app-tauri/src-tauri/Cargo.lock
index aa89d13c8..e15c88992 100755
--- a/screenpipe-app-tauri/src-tauri/Cargo.lock
+++ b/screenpipe-app-tauri/src-tauri/Cargo.lock
@@ -5629,7 +5629,7 @@ checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49"
[[package]]
name = "screenpipe-app"
-version = "2.0.20"
+version = "2.0.21"
dependencies = [
"anyhow",
"async-stream",
diff --git a/screenpipe-app-tauri/src-tauri/src/commands.rs b/screenpipe-app-tauri/src-tauri/src/commands.rs
index a27f06297..d9bd1f378 100644
--- a/screenpipe-app-tauri/src-tauri/src/commands.rs
+++ b/screenpipe-app-tauri/src-tauri/src/commands.rs
@@ -418,6 +418,9 @@ pub async fn show_shortcut_reminder(
if let Ok(_panel) = window.to_panel() {
info!("Successfully converted shortcut-reminder to panel");
+ // Show the window first (required - order_front_regardless doesn't make invisible windows visible)
+ let _ = window.show();
+
// Clone window to pass into main thread closure
let window_clone = window.clone();
let _ = app_handle.run_on_main_thread(move || {
@@ -444,6 +447,8 @@ pub async fn show_shortcut_reminder(
});
} else {
error!("Failed to convert shortcut-reminder to panel");
+ // Fallback: just show the window
+ let _ = window.show();
}
}