Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open Recent list shows blank entries which generate 'The document “(null)” could not be opened.' error dialogs when selected #1334

Open
jamesquilty opened this issue Jan 28, 2024 · 5 comments

Comments

@jamesquilty
Copy link

On macOS Sonoma 14.3 MacDown 0.7.1/0.7.3 appears to be unable to store entries in the recent file list in File → Open Recent. The entries are blank and, when selected, generate an error dialog:
MacDown Open Recent Error Dialog
I see this behaviour on two separate Macs both running macOS Sonoma 14.3.

@jamesquilty
Copy link
Author

Also reported in #1328.

@David-Talaga
Copy link

Confirmed in 14.4.1 on Intel and M1.

@jasper2007111
Copy link

I also encountered this problem. I downloaded the source code and compiled it, and found that the problem still existed. This menu is automatically generated by the system. If I use Xcode to create a new project, I find it is fine. I'm still looking for the exact reason.

@jasper2007111
Copy link

After my debugging, I found that this problem was caused by the inability of recentDocumentURLs in NSDocumentController to add recent files. It should be due to Apple's sandbox mechanism. In fact, newly created projects do not have this problem, and new projects do have a sandbox setting option. The solution is to change the project settings according to Xcode's recommendations.

@abkrim
Copy link

abkrim commented Sep 12, 2024

Confirmed in M1 and Sonoma 14.6.1

CleanShot 2024-09-12 at 07 35 51

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants