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: use screen.frame for right margin, visibleFrame for top only
Louis Beaumont246ee688556f
diff --git a/apps/screenpipe-app-tauri/src-tauri/swift/notification_panel.swift b/apps/screenpipe-app-tauri/src-tauri/swift/notification_panel.swiftindex 7d59fd61f..96c02c6e9 100644--- a/apps/screenpipe-app-tauri/src-tauri/swift/notification_panel.swift+++ b/apps/screenpipe-app-tauri/src-tauri/swift/notification_panel.swift@@ -628,10 +628,13 @@ class NotificationPanelController: NSObject {let mouseLocation = NSEvent.mouseLocationfor screen in NSScreen.screens {if NSMouseInRect(mouseLocation, screen.frame, false) {- // Use visibleFrame to avoid overlapping the menu bar / notch area+ let frame = screen.framelet visible = screen.visibleFramelet margin: CGFloat = 20- let x = visible.origin.x + visible.size.width - 320 - margin+ // Use screen.frame for X (right edge) — visibleFrame may be+ // inset by the Dock and cause wrong positioning+ let x = frame.origin.x + frame.size.width - 320 - margin+ // Use visibleFrame for Y (top edge) — avoids menu bar / notchlet y = visible.origin.y + visible.size.height - 180 - marginpanel.setFrameOrigin(NSPoint(x: x, y: y))break