I'm on MacOS Sonoma. I have been using Preview extensively for research and had quite a lot of pdf's open (to be able to pick up where I left at later time).
I have set Preview to reopen all previously open documents after being closed, which worked flawless despite it being 10s of pdf's.
Now, due to whatever reason (I think a faulty .jpg caused Preview not to open correctly), Preview has lost my original session and instead only shows some 5 most recent pdfs.
How can I restore the lost session?
I am running a continuous time machine backup, so I hope I will be able to do so.
Using google, I have found a preview container in the library, which contains "Saved application state" with a file for each open window:
/Users/XXXXX/Library/Containers/com.apple.Preview/Data/Library/Saved Application State/com.apple.Preview.savedState
Using time machine, I can see the moment the number of Windows dropped. However, simply restoring the content of this container does not do the trick, preview again only openes those 5 most recent pdfs and alters the content of the container to match 5 windows.
What else do I need to restore? Is there something I have to restore in its entirety?
~/Library/Saved Application State/com.apple.Preview.savedState
. Maybe it needs both [from the same day]. Not something I've ever tried before./Users/XXXX/Library/Containers/com.apple.Preview
to a previous state, where the savedstate shows the correct amount of window-files, but it did not do the trick and again only opened the most recent 6 files. The list of open documents of the last session have to be stored somewhere else?