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: disable native Live Text in embedded timeline mode

Louis Beaumontd9b1b4849daa
diff --git a/apps/screenpipe-app-tauri/components/rewind/current-frame-timeline.tsx b/apps/screenpipe-app-tauri/components/rewind/current-frame-timeline.tsx
index 65b64dd34..f89e76a07 100644
--- a/apps/screenpipe-app-tauri/components/rewind/current-frame-timeline.tsx
+++ b/apps/screenpipe-app-tauri/components/rewind/current-frame-timeline.tsx
@@ -249,12 +249,11 @@ export const CurrentFrameTimeline: FC<CurrentFrameTimelineProps> = ({
}, [frameContext?.text, textPositions]);
// --- Live Text hook (native macOS VisionKit overlay) ---
- // Determine which Tauri window/panel to attach Live Text overlay to:
- // - embedded timeline lives in the "settings" window
- // - overlay/fullscreen mode uses "main" NSPanel
- // - window mode uses "main-window" NSPanel
+ // VisionKit attaches at the NSWindow level, so it can only work on
+ // dedicated timeline panels (overlay/window mode), NOT on the embedded
+ // timeline inside the settings window (would cover sidebar, chat, etc.)
const liveTextWindowLabel = embedded
- ? "settings"
+ ? undefined // disable Live Text in embedded mode
: settings?.overlayMode === "window" ? "main-window" : "main";
const { nativeLiveTextActive } = useLiveText({
@@ -264,7 +263,7 @@ export const CurrentFrameTimeline: FC<CurrentFrameTimelineProps> = ({
isSearchModalOpen,
highlightTerms,
highlightDismissed,
- isMac,
+ isMac: isMac && !embedded, // disable native Live Text in embedded mode
containerRef,
useVideoMode,
videoRef,