forced by the rules of the Mac App Store, I enabled the use of the sandbox in my application.
I am having problems with the recent files menu, which works correctly only when you try to reopen a file that was already opened with a standard “Open” command in the current session.
Access to the file fails, however, if you try to reopen a file opened in a previous session.
After reading and re-reading the documentation on the sandbox, everything that I found about this is:
Now, while dragging a file works, the recent files menu does not.
In short, it seems that the access authorization does not persist from one session to another. Now, since this is patently absurd, and that SimpleText does it normally, I wonder what’s wrong.