Skip to content

orca computer: Screen Recording stays not-granted / drag-assistant loops despite toggle ON #10372

Closed

Description

@Tamaz-sujashvili

Summary

orca computer permissions --json reports "screenshots": "not-granted" and the Computer Use drag-assistant keeps showing "Drag Orca Computer Use into the list above to allow Screenshots." even when Orca Computer Use is already present and enabled in System Settings → Privacy & Security → Screen Recording.

Related to the Accessibility fresh-helper preflight race in #9458 / #10122 — same symptom class for CGPreflightScreenCaptureAccess().

Environment

  • Orca 1.4.150
  • macOS (Darwin 25.x)
  • Helper: /Applications/Orca.app/Contents/Resources/Orca Computer Use.app (com.stablyai.orca.computer-use)

Reproduction

  1. Grant Accessibility + Screen Recording to Orca Computer Use (toggle ON in System Settings; app already listed).
  2. Confirm UI shows Screen Recording enabled for Orca Computer Use.
  3. Run:
    orca computer permissions --json
    → "accessibility": "granted", "screenshots": "not-granted".
  4. Open setup UI (orca computer permissions --id screenshots) → drag assistant still asks to drag the app into the list it is already in.
  5. orca computer get-app-state --app com.google.Chrome --json fails with permission_denied (often labeled as Accessibility even when the missing gate is screenshots / empty windows).

Direct helper status (same identity Orca uses):

STATUS=$(mktemp)
open -n "/Applications/Orca.app/Contents/Resources/Orca Computer Use.app" --args --permission-status-file "$STATUS"
# -> {"accessibility":"granted","screenshots":"not-granted"}

Root cause

screenCaptureTrusted() is a one-shot CGPreflightScreenCaptureAccess(). Fresh helper processes get preflight_unknown / false negatives from tccd even when the bundle grant is real (same mechanism documented in #9458 for Accessibility). Permission UI reads that one-shot result and keeps the drag assistant up.

Suggested fix

Workaround

None reliable from the agent shell: enabling the toggle repeatedly does not clear not-granted until the helper process sees a settled / warmed TCC answer.

Activity

  1. added
    bug
    on Jul 27, 2026
  2. nwparker commented on Jul 27, 2026

    @nwparker
    Contributor

    Repro status: cannot_repro / env (Screen Recording TCC)

    macOS Screen Recording permission loop for computer-use. Requires real TCC prompts and computer-use binary; not automated here.

  3. added
    pending_repro
    on Jul 27, 2026
  4. AmoabaKelvin commented on Nov 15, 2026

    @AmoabaKelvin
    Collaborator

    Fixed by #13025. The Screen Recording check now retries and confirms with a real capture before reporting not-granted, so an already-enabled helper no longer loops the drag assistant. Reopen if you still see it on a current build.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugpending_repro

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions