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(store): scope "screenpipe" ignore-pattern to app name only (#4019)

Divanshu1f07d50cfccb
diff --git a/apps/screenpipe-app-tauri/src-tauri/src/store.rs b/apps/screenpipe-app-tauri/src-tauri/src/store.rs
index 3ff0af8f7..6ba5621ae 100644
--- a/apps/screenpipe-app-tauri/src-tauri/src/store.rs
+++ b/apps/screenpipe-app-tauri/src-tauri/src/store.rs
@@ -1165,7 +1165,7 @@ impl Default for SettingsStore {
"Recorder".to_string(),
"vault".to_string(),
"OBS Studio".to_string(),
- "screenpipe".to_string(),
+ "screenpipe::".to_string(),
];
#[cfg(target_os = "macos")]
@@ -1330,6 +1330,17 @@ impl SettingsStore {
);
}
+ // Migrate unscoped "screenpipe" ignore-pattern to app-scoped "screenpipe::"
+ // so browser tabs whose title contains "screenpipe" are no longer falsely
+ // excluded from SCK capture and rendered black.
+ if let Some(Value::Array(windows)) = obj.get_mut("ignoredWindows") {
+ for entry in windows.iter_mut() {
+ if entry.as_str() == Some("screenpipe") {
+ *entry = Value::String("screenpipe::".to_string());
+ }
+ }
+ }
+
// Sanitize unknown provider types in aiPresets to prevent deserialization failures
let known_providers = [
"openai",