4 comments

  • anansichantha 6 hours ago

    Great to see more system-level tools being built with Tauri. I'm curious about how you're handling the performance overhead of the global hover event. Is the backend polling the Accessibility API via AXUIElementCopyElementAtPosition, or are you using a more event-driven approach?

    • wlswo 6 hours ago

      Implementation Details: We currently use a hybrid polling approach rather than a pure event-driven one.

      Mechanism: The Rust backend runs a high-priority background loop using AXUIElementCopyElementAtPosition to track the element under the cursor.

      Optimization: To minimize overhead, the polling frequency is throttled and only ramps up when the overlay is active. We use CoreGraphics to first detect mouse movement delta before triggering the heavier Accessibility API calls.

  • gracefang 6 hours ago

    so sick