Hi MarginNote Support,
First, thanks for a great product!
I’m having a problem though, that may have been introduced in the 4.1.23 update.
When opening any PDF that is password protected, MarginNote prompts me to enter a password to unlock the PDF, and activates macOS’ “Secure Keyboard Entry” feature (which is a good thing, of course). The problem is that it never releases or revokes Secure Keyboard entry, which affects other applications.
Until I quit MarginNote, it keeps Secure Keyboard Entry enabled all the time.
I can see that MarginNote is the responsible application by running this command, after opening a protected PDF (after the password has been entered and used to decrypt, and the PDF is fully open in MarginNote):
~ > ioreg -l -w 0 \
| perl -nle 'print $1 if /"kCGSSessionSecureInputPID"=(\d+)/' \
| uniq \
| xargs -I{} ps -p {} -o comm=
/Applications/MarginNote 4.app/Contents/MacOS/MarginNote 4
Because of this, tools like TextExpander, and many others that need to monitor keyboard input, cannot work at the same time as MarginNote, any time a protected PDF is open. I’m sure many of your users rely on applications like these.
I found this (few years old) stackoverflow post:
It sounds like MarginNote is calling function EnableSecureEventInput, but then not successfully calling DisableSecureEventInput?
Could the developers please check?
In my testing, the problem affects separate MarginNote installs on an Intel Macbook Pro running macOS 15.7 Sequoia (fully updated) and on a Mac Mini M4, running the macOS 26.0 Tahoe release version. I also tested MarginNote 3 with the same PDF files, and it does not have this problem.