Skip to content

Background click via --app is acknowledged but has no effect on Chrome; profile-picker/menu items report zero-size bounds #687

Description

@leeguooooo

Version: peekaboo CLI (Homebrew, /opt/homebrew/bin/peekaboo), macOS 26 (Darwin 25.6), Chrome 152. Permissions: Screen Recording, Accessibility, Event Synthesizing all granted.

What happened:

  1. peekaboo click --coords X,Y --app "Google Chrome" (the background/PID-targeted path) returned success (⏱️ Completed in 0.18s) but nothing happened in Chrome — tested on the "Who's using Chrome?" profile picker cards and on the toolbar extensions button. peekaboo click --coords X,Y --foreground at the same coordinates worked immediately. The docs say synthetic clicks "may be ignored by some apps until focus is allowed"; if the app ignores them, a success:false / outcome:unknown (or an automatic foreground fallback) would save a lot of blind retries.
  2. peekaboo click --on <elem> --snapshot <id> on the Chrome toolbar "Extensions" button (elem_24, role button) also reported success:true twice while the popup never opened in the follow-up screenshot; perform-action --action AXPress on the same element returned success:false. A coordinate --foreground click opened it.
  3. peekaboo see --app "Google Chrome" on the profile picker window returned the profile cards only as menuitem_* rows with bounds {x:0,y:0,width:0,height:0} (e.g. "立 (Leo)"), so there was no way to target a profile by element; I had to click by pixel coordinates from the screenshot.
  4. peekaboo scroll has no --coords; it scrolls at the current mouse position, which is not documented on the command and surprised me when the pointer was elsewhere.

Expected: report failure when a PID-targeted synthetic click is dropped (or fall back to foreground), populate bounds for Chrome's profile-picker/menu items when available, and accept --coords on scroll.

filed by an AI agent with the user's consent

Activity

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

    P2Normal priority bug or improvement with limited blast radius.impact:ux-frictionUser-facing flow adds avoidable confusion or support burden without fully blocking progress.issue-rating: 🦪 silver shellfishThin issue quality; more reproduction proof or environment detail is needed.

    Type

    No type

    Fields

    Priority

    None yet

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions