Skip to content

macOS engine: route 3's per-action activation fires a page focus event on every background click (vendor: once per session) #245

Open

Description

@SSFSKIM

Observed

#200's final live check (2026-11-01, MacBook) counted the Electron fixture's events over 20 background clicks on a plain button:

  • cua: appDidBecomeActive ×20, resign ×5, windowFocus ×20, windowBlur ×3.
  • vendor: ×1 each.

A web page therefore receives a window focus event on every cua background click. Pages that act on focus would act once per agent click instead of once per session: refetch-on-focus in data libraries, analytics, presence, form validation.

Known

To do

  • Measure first: does holding route 3's activation across consecutive actions on the same app and window cut the focus events to one?
  • Keep Own engine brings the driven app to the front in MAWS sessions (MacBook opt-in build) #200's guarantees: every click still delivered, no raise left. The first click after a hold still needs its sacrificial first mouse.
  • Check the person-input rules: a hold must end at the person's input, as the after-action watch does.
  • Decide from the numbers whether the change is worth its complexity.

Relates to #200 and #188.

Activity

  1. added
    enhancement
    status:ready-for-implementer
    priority:P3
    on Nov 1, 2026
  2. added a commit that references this issue on Nov 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementpriority:P3status:ready-for-implementer

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions