openhuman icon indicating copy to clipboard operation
openhuman copied to clipboard

[Bug][Autocomplete][macOS] Repeated not authorised Apple Events errors (-1743)

Open Al629176 opened this issue 7 months ago • 1 comments

Autocomplete repeatedly throws macOS permission error: unable to query focused text context; Not authorised to send Apple events to System Events (-1743). Expected: one clear actionable permission prompt and graceful fallback. Actual: continuous repeated error spam. Tasks: detect permission before querying, throttle duplicate errors, show one recovery CTA, suppress repeated toasts, add denied-permission regression test.

Image

Al629176 avatar Apr 09 '26 06:04 Al629176

Resolved by #460 + #495 — the repeated Apple Events -1743 errors were caused by orphaned unified_helper_bin processes continuing to query accessibility APIs after the app exited. With graceful shutdown (#460) and proper SIGTERM signaling (#495), the helper is cleanly terminated and no longer spams permission errors.

oxoxDev avatar Apr 13 '26 07:04 oxoxDev