Repository navigation
Description
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
- Grant Accessibility + Screen Recording to Orca Computer Use (toggle ON in System Settings; app already listed).
- Confirm UI shows Screen Recording enabled for Orca Computer Use.
- Run:
→
orca computer permissions --json
"accessibility": "granted","screenshots": "not-granted". - Open setup UI (
orca computer permissions --id screenshots) → drag assistant still asks to drag the app into the list it is already in. orca computer get-app-state --app com.google.Chrome --jsonfails withpermission_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
- Settle Screen Recording with the same retry helper as Accessibility (fix(computer-use): settle Accessibility trust before failing on fresh helper processes #10122).
- After settle still fails, attempt one real
CGWindowListCreateImageprobe to warm tccd / detect effective grants. - Use the settled check for
permissions --json, permission UIisGranted, and screenshot gating. - Update drag-assistant copy for the already-listed case (toggle off/on + Quit Orca).
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
nwparker commentedon Jul 27, 2026
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.
AmoabaKelvin commentedon Nov 15, 2026
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.