Other issues that may arise when using Fig and how to fix them.
Secure Keyboard Input is a feature on macOS that prevents apps from intercepting key events sent to other apps when typing in private information, like passwords.
When Secure Keyboard Input is enabled, Fig cannot provide autocomplete suggestions.
Apple published a technical note providing guidance for when it is appropriate to enable Secure Keyboard Input:
EnableSecureEventInputonly when needed, that is when the keyboard focus moves to a private data entry field. When the keyboard focus changes to a non-secure text field, or when your process detects that it is losing keyboard focus, call
In most cases, apps will enable it temporarily — when sensitive information is being entered. However, certain apps like iTerm and Terminal allow the user to choose whether to keep it enabled all the time. Fig will never be able to provide suggestions when this option is selected.
In the menu bar, go to Terminal > Secure Keyboard Entry and make sure that the setting is disabled.
In the menu bar, go to iTerm > Secure Keyboard Entry and make sure that the setting is disabled.
If the checkbox cannot be unselected, iTerm has detected that Secure Input is enabled but it is not the responsible application.
To figure out how to disable it, continue to the troubleshooting section.
Sometimes other applications enable Secure Input but then fail to turn it off when it is not longer needed.
Clicking the Fig icon in the menubar > Debugger will display the app that is responsible for enabling Secure Keyboard Input.
If this information doesn't appear in the Debugger or the steps above haven't resolved the issue, then run the following command:
ioreg -l -w 0 | tr ',' '\n' 2&> /dev/null | grep kCGSSessionSecureInputPID | cut -f 2 -d = | uniq | xargs ps -o command= -p
There appears to be a bug with MacOS, where sometimes the login window doesn't terminate (and disable Secure Input) once the user has logged in. (Source)
To fix this, you need to return to the lock screen and then log back in.Tip: You can use the ctrl+cmd+q hotkey to quickly go to the login screen.
If logging in does not resolve the issue, try restarting your machine.
If the app that shows up isn't a terminal or the loginwindow, TextExpander has helpfully complied a list of apps that trigger Secure Keyboard Input and how to resolve the issue.
You can also check if one of the specific applications could be enabling this in the background.
- Game Center
- Google Chrome
- Hulu Desktop
- Notational Velocity
- Parallels Desktop 9 and 10
- Quicken Scheduler
- Webroot SecureAnywhere