Open
Description
Quite often users get confused that AeroSpace global hotkeys stop working because of macOS Secure Input feature that disallows intercepting global hotkeys
- https://github.com/nikitabobko/AeroSpace/issues?q=is%3Aissue%20state%3Aclosed%20secure%20input
- https://github.com/nikitabobko/AeroSpace/discussions?discussions_q=is%3Aopen+secure+input
It turns out it's possible to know if secure input is on globally:
import Carbon
print(IsSecureEventInputEnabled())
The suggestion is to use the mentioned API to warn users that the secure input is on.
UI
The exact UI is under the question
Options off the top of my head:
- Menu bar changes from workspace indication to exclamation mark
- Half-transparent overlay/popup
Contexts.app UI for inspiration

Open questions
- Is
CGEvent.tapCreate
API also affected by Secure Input? Investigate a possibility to useCGEvent.tapCreate
for global hotkeys #1012