What is the (auto)save model for macOS applications?

TL;DR --> I use annotations in Preview heavily (many text callouts and line graphics, in multiple colors, etc.) Preview will not properly save these annotations.


=================================


I'm particularly bothered/tormented by Preview.app, but the "model" for "Save" is likely shared by other apps (e.g., the iWork suite).


My configuration: Preview 11.0 (1056.3.2), macOS 14.3.1, M2Pro MacBookPro


This (mis)behavior has been present for a long time (over a year, at least) throughout multiple macOS updates. I have complained both here, in the discussion forums, and in official Apple feedback channels, to no avail. As far as I can tell, Preview.app is a deprecated/unsupported application. It does not appear on Apple's feedback page Product Feedback - Apple. And the feedback I have provided has been ignored: https://feedbackassistant.apple.com/feedback/13510240


==================================


I use annotations in Preview heavily (many text callouts and line graphics, in multiple colors, etc.) Preview will not properly save these annotations. The behavior is weird and incoherent. It seems that only the edits/mods I do until the first "save" are actually saved; all further edits, although shown properly on the screen, are not reliably saved to disk. I am forced to open a duplicate copy of the document, then cut/paste from the original/orphaned document into the duplicate. If I do this "fast enough" (before the first autosave") then the duplicate will retain those pasted modifications. But if I tarry, any pasted edits--occurring after the first autosave of the duplicate file--will, again, be lost. So, I have to work, spoonful at a time, to do any edits, and always examine the "saved" file to confirm that it contains my most recent edits before closing it; because if I close a file that looks perfectly good (onscreen), its "saved" version (on disk) may be missing a lot of annotations; then they are lost and must be redone.


So I've tried holding off on "saving" my work until I'm ready to "commit" them (this is really not a safe workflow; it's better to "save often", but that--as I've observed, above--causes problems.) But this work-around is stymied too, because macOS (or the Preview app) insists on doing autosaves: after the first autosave (whose timing I have no control over, and am not asked to approve), my subsequent edits risk being ignored/lost by a manual (i.e., user initiated) "Save".


I have tried using the "System Preferences>Desk & Dock>Ask to keep changes..." option. Neither selecting nor unselecting this option prevents the app from autosaving. Strangely, when this option is selected, the black dot inside the red stoplight never appears...as though the app is not aware of--or doesn't care whether--the document has been changed(!)


I am asking for further information on Apple's "save to disk" memory model. For quite awhile, their apps have had an inscrutable set of Save-related commands (under the "File" pulldown: Save, Duplicate, Rename, Move To, Revert). Curiously, "Save as..." is no longer one of them. If you explore the "Revert" behavior, it exposes a TimeMachine-like repository. I suspect that this collection of file archiving "wizards" is fubar'ed. Or maybe it just has a complex "model" that I don't understand...hence the title of my question.


But my immediate wish is to "turn off" autosave, especially in Preview, so that I can get back to work on my annotations without having them ignored/lost/unrecoverable. For instance, is there a command line setting to disable autosave?

MacBook Pro 16″

Posted on Feb 15, 2024 11:11 AM

Reply
Question marked as Top-ranking reply

Posted on Feb 15, 2024 02:46 PM

TL;DR. I find that the Autosave functionality on macOS varies by application. In Pages, Numbers, or Keynote applications, one must first manually save a document before Autosave is enabled. Preview just does it without any manual invitation — to supported filesystems and it protests when autosaving to an unsupported filesystem or cloud location.

---


In my experience, when I open a PDF document (local or icloud) in Preview, the very first and subsequent annotations are simply autosaved. I need not even manually save the PDF after the first annotation. You can see the annotation simply show up in a Quick Look view of the PDF. This has been my experience with local or icloud-based PDFs all along — including on macOS 14.3.1 with PDFs created by a wide range of tools including one created on ATT Plan 9.


Where users get into trouble is saving to non-Apple filesystems or cloud services. Usually, a dialog will appear informing that the document could not be autosaved as a strong hint that it is not working and Apple did not design autosave to go where it is not supported. What I have not experienced, though others have reported it is applying an annotation and it not appearing in the PDF. In Preview, one can press cmd+i to open the Inspector and it will show you a list of annotations that are on the PDF.


The type of PDF may have some bearing. If it was written by Adobe Livecycle Designer, or some brand-x web-based PDF converter, it may use different internal PDF structures that causes Preview to go berserk, though Adobe Acrobat Reader is designed to handle. Performing annotations in different PDF readers or editors can exact revenge as some annotations are written differently within the PDF than Preview is designed to handle.

Similar questions

3 replies
Question marked as Top-ranking reply

Feb 15, 2024 02:46 PM in response to DogCowChips

TL;DR. I find that the Autosave functionality on macOS varies by application. In Pages, Numbers, or Keynote applications, one must first manually save a document before Autosave is enabled. Preview just does it without any manual invitation — to supported filesystems and it protests when autosaving to an unsupported filesystem or cloud location.

---


In my experience, when I open a PDF document (local or icloud) in Preview, the very first and subsequent annotations are simply autosaved. I need not even manually save the PDF after the first annotation. You can see the annotation simply show up in a Quick Look view of the PDF. This has been my experience with local or icloud-based PDFs all along — including on macOS 14.3.1 with PDFs created by a wide range of tools including one created on ATT Plan 9.


Where users get into trouble is saving to non-Apple filesystems or cloud services. Usually, a dialog will appear informing that the document could not be autosaved as a strong hint that it is not working and Apple did not design autosave to go where it is not supported. What I have not experienced, though others have reported it is applying an annotation and it not appearing in the PDF. In Preview, one can press cmd+i to open the Inspector and it will show you a list of annotations that are on the PDF.


The type of PDF may have some bearing. If it was written by Adobe Livecycle Designer, or some brand-x web-based PDF converter, it may use different internal PDF structures that causes Preview to go berserk, though Adobe Acrobat Reader is designed to handle. Performing annotations in different PDF readers or editors can exact revenge as some annotations are written differently within the PDF than Preview is designed to handle.

Feb 16, 2024 01:13 AM in response to DogCowChips

So here's another troubling/related behavior: I wanted to make a clean start, so I closed each of the dozen or so documents I had open in my current Preview session, confirmed that there were no open windows, and only then Quit the app (Cmd-Q). Waited a minute or so, then reopened the app, intending to start with a blank slate.


Instead, when the app started up, it automatically opened all of the dozen documents I had just closed, thank you very much. (I don't know why it decided on just that dozen, because I had, through the course of the day, opened and closed probably another two dozen documents, but those, apparently, did not qualify for resurrection). Bizarre.


Just did the same thing, again (closed all open Preview windows, Quit the app, then restarted it). And this time...it did not (unexpectedly) reopen any documents. That is, I now have a clean slate, as expected. This is just deranged!

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

What is the (auto)save model for macOS applications?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.