9 ms·
OS X Mountain Lion: Data Loss via 'Save As'
- jopt 14y agoThat's insane; it must be a bug. Perhaps they should just stick with the new document model. We'd have to relearn, but a clean break is better than this nonsense.
- Groxx 14y agoYeah, I noticed this one too, when cropping a picture and saving it as a new file (in Preview). Both the original and the new one were cropped. A moment of panic later, and I found the revert option in Preview, but only because I knew it existed. Totally. 100%. Undesirable. I did not Save. I saved to a new file. The only option now appears to be duplicating before editing (bad) or hoping the application has an 'export' option which sidesteps this (also bad - export typically presents far more options than save-as).
- kalleboo 14y ago> duplicating before editing (bad) Why is this bad? edit: Why are people downvoting me for asking this question? I'm genuinely curious.
- prodigal_erik 14y agoIt requires me to decide whether or not I'm going to want to keep a change, before I've even started on it. Otherwise I have to plow through a big undo stack, even assuming undo is supported (and persisted) for everything I did.
- kalleboo 14y agoThere's a "Revert" menu item that reverts to the last opened state, and if you managed to close the file, there's Versions. The change is really confusing to long time computer users. I wonder if Apple could have avoided this confusion by changing the names of "Save" and friends to something completely different.
- Groxx 14y agoSince original the file is saved, there's nothing preventing you from closing the file. "Managing to" is as easy as closing the window with cmd-w or hitting the red dot. Previously you could say 'no' to the 'save changes' dialog that popped up reliably - now it's just gone and there's essentially no indication that you can fix it.
- kalleboo 14y agoLook at it the other way: With the old system, if you pressed "Don't save" to that dialog by mistake, you lost everything. With the new system, it's basically impossible to lose anything (the only way is if you don't notice for long enough that the old version gets reaped).
- Groxx 14y agoIf you know it exists. And how long until it gets reaped? (I honestly have no idea. probably long enough for it to not matter, though, I'll admit) I'll try another way too. You had unsaved changes. You chose 'save as', which you know makes a new file. Why would you want to save the current changes to both files, ending up with two identical ones? Filename aside, they're the same file, but one can be reverted and the other can't. That's what copy/paste/duplicate is for. edit: there are plenty of valid cases for this, but they're mostly specialty (saving stages of changes in e.g. design work). why would the average person under average use want to save-as and end up with two identical files?
- apawloski 14y agoNo idea why you were downvoted, I'm interested in learning about this too.
- Groxx 14y agoBecause it's a horrible UX paradigm to require. If 'Save As...' had never existed, it wouldn't be unreasonable, but it is (was) a reasonable behavior that every other system I'm aware of has maintained. This passive versioning thing is quite nice in some aspects, but it's very unknown with most people I've seen. They see a file changed, they assume it's stuck like that now and the original is gone forever. Why would they expect otherwise? Their unsaved file gave no indication of being saved. Every application they open it in, and everyone they email it to, will only get the most-recent version. Even the file-system doesn't tell you when you have multiple versions of something.
- kalleboo 14y agoI see it as part of the iOSification of OS X, to appeal to iPad/iPhone halo converts. My phone has never asked me if I want to "Save changes".
- Groxx 14y agoI like the feature, to be clear. I just think it's horribly executed, and the education side has been even worse. The problem is that they took something. Then they changed it, giving it multiple nearly-invisible modes it can be in, which changes from application to application (not all have a 'revert' option, even for versioned files). Then they didn't tell anyone. For instance. I just cropped this file. How do I know the original still exists? http://cl.ly/image/2L2X0x042W0N http://cl.ly/image/2L2X0x042W0N Here, I opened it in another application. Are there multiple versions? http://cl.ly/image/3Y1m3C2r1r2f http://cl.ly/image/3Y1m3C2r1r2f What about in the File menu? http://cl.ly/image/0F2o2H2i3Z2f http://cl.ly/image/0F2o2H2i3Z2f Finder? http://cl.ly/image/1C0S3z3Z0q30 http://cl.ly/image/1C0S3z3Z0q30 or http://cl.ly/image/463p0O1I3q1C http://cl.ly/image/463p0O1I3q1C or http://cl.ly/image/1F191E3b3U1W http://cl.ly/image/1F191E3b3U1W ? (edit) Oh, cool - there's a "Versions" column. Maybe that has it: http://cl.ly/image/2703273U3z2U http://cl.ly/image/2703273U3z2U This is bad.
- thatjoshguy 14y agoAlways assume that every change you make is saved automatically, much like cutting down a physical photo. If you still want the original photo, and another cut down version, you would use a photo copier to Duplicate the original, then cut the copy.
- abduhl 14y agoI often find myself making a base model and then iterating down different paths using saved as on the fly with no prior knowledge of the number of iterations (duplicates) I will end up with.
- dubya 14y agoThis behavior wasn't really introduced with "Save as..." in ML. In Lion, if you rotate a page in the middle of a PDF, then quit and reopen the file hoping to undo the rotate, it will still be rotated. Fortunately, it was someone else's presentation where I first saw this. Anyhow, ML isn't doing a "save" and "save as..." now; it had already done the "save" part. Apple really should do a better job explaining this, but it's most likely not consistent across all apps. Does XCode even do this now? It reminds me of the preferences behavior where you make your changes and that's it, rather than requiring you to hit an "OK" or "Apply" button as in Windows.
- ewalk153 14y agoIt looks like others have found a work-around by leveraging the duplicate feature another other keyboard shortcuts but this it quite annoying. http://reviews.cnet.com/8301-13727_7-57481986-263/apple-returns-save-as-to-mountain-lion/ http://reviews.cnet.com/8301-13727_7-57481986-263/apple-retu...
- _delirium 14y agoOh man, that is seriously broken. I save-as in Preview all the time when cropping or color-adjusting photos, and this could've produced a very bad day if I had upgraded to Mountain Lion and kept doing that, unwittingly overwriting all my originals. (I haven't upgraded yet, partly to let things like this be come to light before I dive in.)
- rogerchucker 14y agoI highly doubt this will be fixed in any of the future 10.8.x updates.
- jaylevitt 14y agoIs there something fundamental about the API that makes you say that, or just understandable cynicism?
- kalleboo 14y agoSince it's a feature, not a bug http://support.apple.com/kb/HT4753 http://support.apple.com/kb/HT4753 http://www.apple.com/osx/whats-new/features.html#autosave http://www.apple.com/osx/whats-new/features.html#autosave
- snowwrestler 14y agoIt doesn't overwrite all your originals because files are versioned in Mountain Lion. If you accidentally save changes to your original that you don't want, you can just revert to a previous version. I used to do what you describe--open the original, make changes, then Save As. Until I accidentally hit Save instead of Save As. Goodbye original. Now when I want to work off an original I make a copy of it first in the filesystem, then open the copy with the application (Photoshop usually). Since I never open the original with the app, I can't screw it up. I don't have Mountain Lion yet but the "Duplicate" functionality sounds like it will work for me.
- rogerchucker 14y ago
- eyko 14y agoIs "duplicate, then save" common sense enough?
- mrbabbage 14y agoThe problem is that "Save As" has a very specific meaning that Apple's new implementation doesn't respect. In every other DE / other OS X applications / prior versions of OS X, "Save as" means "take the current working copy and save to disk under the given name, presevering the original". In Mountain Lion, "Save As" basically means "Rename". If Apple called the feature "Rename", this wouldn't be an issue; it's an issue because Apple co-opted a very well-established term for a completely different function
- protomyth 14y agoIf we were starting without multiple years of experience using "Save As". The problem is a workflow that was expressly used by people to not mess up the original now messes up the original. This is so not good. If we were using OpenVMS (versioning of files is obvious), but it is really a bad design decision. Bringing auto saves to the Mac in the way they did is foolish.
- kalleboo 14y agoAnyone coming from an iPad or iPhone has no experience of "Save As". These are the users Apple are now targeting. Like it or not.
- protomyth 14y agoAnyone coming from the iPad has no experience with the File menu, and Mac users have years of experience with it. Learning a new interface requires learning some new customs. This is a huge issue with creation in iOS. It is not a form factor or input problem. It is this strange assumption the every action I do is correct and needs to be preserved. I cannot know that my rewrites will be good before I attempt them. Reverting on iOS is a huge pain if its even possible at all.
- pat2man 14y agoBased on how everything else works it would be simple enough for the "Save As" to basically "Duplicate and Save." You press it, give it a file name and you how have two windows. Don't know why Apple didn't do it this way.
- kalleboo 14y agoThat is how it works now. When he says "it silently saves the original file", he's missing the point that OS X is always saving your files. In Lion/ML, if you create a new file, Save it with a name, and afterwards add some text and then close the window, it doesn't prompt you to "save changes", since it's always saving changes. In a model like that, there's no reason for "Save As" to suddenly not save changes in the original window.
- Schlaefer 14y agoIn ML you can set "Ask to keep changes when closing documents" in the system preferences. Then OS X is not supposed to overwrite your file without your consent, but it does in this case.
- kalleboo 14y agoAh in that case it's definitely a bug.
- jomohke 14y agoIt's not a bug. It overwrites the file by design. The old model was revert-by-default. You had to manually save your changes. The new model is save-by-default. You have to manually revert your changes. In the "File" -> "Revert To..." menu you have multiple options, such as revert to last saved document and revert to last opened document. These persist even after restarting the application. I think the new model is far better design.
- snowwrestler 14y agoDoes it? The linked blog post makes no mention of the preference setting you describe, so the author was probably running without that setting (which is off by default). I'll have to try that when I upgrade to ML next week.
- kalleboo 14y agoIn Lion, Apple changed the File model completely (everything is saved automatically by default. you no longer have any "in-flight" changes that aren't saved), but they haven't properly educated the users, causing people to assume it's "broken". With the new model, if you want to edit a copy of a file instead of the original file, you need to Duplicate first. I've been bit by this a few times as well, since it's hard to break 20 years of habit, but from an outside perspective I think the new model is less technical and could be more intuitive to new users (real life has no equivalent to "unsaved changes").
- mgkimsal 14y ago"With the new model, if you want to edit a copy of a file instead of the original file, you need to Duplicate first. " And this is why I think it's broken. There are times when I don't know ahead of time if I want to keep the edits in the document I've worked on, or 'fork' it and give it a completely separate name. Making me decide up front is forcing me to do more of the work instead of the computer, which is not how it should be. I will probably bite the bullet and upgrade to ML this year - still on Snow Leopard right now, because I really don't like these sorts of mental model changes.
- kalleboo 14y agoApple's answer to this is that you if you made changes you don't want to keep, you should revert them. In Lion you had to use Versions for this, but Mountain Lion can revert to the last opened version.
- wvenable 14y agoThat's an answer to the wrong question. I want to keep the changes I'm working on, under a new name, and keep the original untouched. Or maybe I made 5 edits to the original but the 6th edit I want in a new file (happens all the time). It just seems unnecessarily complicated. Having documents automatically save is great but it should require taking away so many other features.
- 0x0 14y agoI cannot believe how the Apple engineers implemented this feature, thinking this makes sense??? switch (menuEvent) { case FILE_SAVE_AS: NSString *newFileName = prompt_for_saveas_name(); [document writeToFile:originalFileName]; [document writeToFile:newFileName]; ?!?
- kalleboo 14y agoFiles are always saved automatically in Lion/Mountain Lion. It's more like this -(void)dataChanged { [document writeToFile:fileName]; } switch (menuEvent) { case FILE_SAVE_AS: NSDocument newDocument = [initWithDocument:oldDocument] [newDocument writeToFile:newFileName]; It would be wrong for "Save As" to suddenly unsave your changes.
- 0x0 14y agoThey are even listing the return of "Save as" on the "new features" page: http://www.apple.com/osx/whats-new/features.html http://www.apple.com/osx/whats-new/features.html Quoting: Keyboard shortcut for Save As Use Command-Shift-Option-S to save a document using a different name and location. It does not say "Use Command-Shift-Option-S to save a document using a different name and location and also overwrite the existing document", even though that's exactly what it does!!! Crazy! Edit: You're right, I saved a file.txt from TextEdit, then cat'ed it from a Terminal, then edited it even without trying to save or duplicate or save as; in fact the TextEdit window still shows "File1.txt - edited", but cat shows the new contents. They shouldn't have brought back "save as" at all if this is they way they are going to handle things, much less list it as a killer feature of 10.8.
- kalleboo 14y agoDid you not read what I wrote? OS X no longer has a concept of "Unsaved changes". It's always saving your file. You write in a new sentence, it saves it (virtually) instantly. The original file was already overwritten when you selected "Save As". The new "Save As" just makes the old "Duplicate" more handy. I agree it's a poor choice of name, they should have kept it named "Duplicate".
- thought_alarm 14y agoOr how about this one: you're editing an existing document and you wish to preserve the original by using "Save As" to create a duplicate when you finish editing, except at some point you hit "Command S" by accident or by reflex and you've now clobbered your original, without warning, and there's no previous version to restore. That one's been around for 28 years, and was finally fixed in Lion and Mountain Lion. The "Save As" command has always been dangerous and ridiculous in the way it's typically used for editing and then saving duplicates. Lion finally gives you better and more safer options, but if you're not willing to learn what those are and how it works, if you're hell bent on continuting to do it the old way, then you're not going to like it and you're going to continue to risk data loss like you have for the last 30 years. I, for one, love the way it works. Yes, I had to sligtly change my workflow but it's change absolutely for the better.
- jsz0 14y agoI completely agree. A split second of poor judgement can destroy hours of work. In this case I'm happy to let Apple save me from myself.
- cheald 14y agoReading the rest of the thread, it looks like Apple is already saving you from yourself by creating a revision each time you save. So, this change just increases the amount of work the user has to do by forcing them to go and revert the last save on the orignal document after doing a Save As. People using "Save As" frequently don't know that they want a duplicate before they start changing things. Sometimes what I think is going to be a minor change ends up being a major change, and I want to "fork" the document. Think of it in git terms: I start a changeset, and after some work, find that the changeset is too big or too unstable or too hard to merge upstream. So, I `stash`, `checkout new-branch`, `stash pop`, `commit` (or just `stash && stash apply`) This new workflow is effectively: `commit`, `checkout new-branch`. Crap, now my unstable changes are committed to my master, and to fix them and get back to what I was working on, I have to `checkout master`, `reset --hard HEAD^`, `checkout new-branch`. It's annoying and presumptive. If git did this, there would be rioting in the e-streets.
- kirillzubovsky 14y agoI honestly don't see why people are so upset. I think the way saving is implemented in MLion is fantastic. Instead of relying on old standards, the engineers are looking ahead of the time. "Normal", non-tech people who aren't obsessed with technology, will find this feature amazing. Actually, let me correct myself - they won't notice this feature, and that's the key. Save As was a hack, which worked for people who knew about it, but was a total clusterflack for normal users. Normal users rarely revert to old copies and if you really want a duplicate of a file, well, you can always have a "duplicate", which is an available feature. Using the OSX in this way will be a more pleasant experience, going forward. I am not saying this because I love Apple's design, I am saying this because I've seen this countless times while helping my family with their computer issues.
- lotharbot 14y ago> "Instead of relying on old standards, the engineers are looking ahead" There's nothing wrong with new standards. This might in fact be an excellent way to do things. The problem is giving new, completely different standards the same name as old standards. "Normal" non-tech people would be just fine with this feature if you named it something different like "save and duplicate" -- and tech people wouldn't be caught off guard by the system misusing common tech terminology to mean something totally different.
- robomartin 14y agoI am trying to resist the urge to call Mountain Lion "Mountain 'O crap" If Microsoft did this they'd be eviscerated crucified. iOS Developer and Mac user here (as well as Windows). The madness must stop. I have a feeling Steve will be missed more and more as the years pass.
- kalleboo 14y agoI did some googling and it seems like Windows 8 Metro apps might have similarly neutered file handling. Has anyone tried it out and can report?
- brudgers 14y agoMy understanding is that Metro tends to sandbox an apps data in a way analogous to that of a mobile OS. I believe the intent is to prevent one Metro app from overwriting another apps data or corrupting the file system.
- snowwrestler 14y agoMicrosoft worked for years to implement this sort of file system in Longhorn, called WinFS. In the end they could not get adequate performance and had to strip it out. Just to make it clear, the linked blog post is wrong; there is no data loss in this situation. All that happens is one more save point, which does not harm earlier save points. (aka versions)
- zdw 14y agoThe workflow I've always used: Open file > Save with new filename > Change new file > Save changes 10.7/10.8 just removes the last step. The only people having issues are those that confuse the middle two steps. Or, in unix parlance, you cp then vi. Not the other way around.
- _delirium 14y agoIn vi, though, what I usually do is open a file first, and then if I want to 'save as', I do ':w newfile'. I don't have to decide before I open the file if I want to duplicate it or not, and it would be very unexpected behavior for ':w newfile' to also modify the original file.
- deleted 14y ago[deleted]
- zmmmmm 14y agoOften I don't know that I'm going to want to save as a new version until half way through. I some times open the original intending to make minor, non-destructive, changes, then end up making bigger changes and think "hmm, I'd better save as a different file in case I need the old one later". I think to advance to the world of auto-save, one also needs to much more visibly advance to the world of file versioning where it's really clear to the user whether their changes are ultimately destructive or not.
- madrona 14y agoLooks like it's not just SaaS that is susceptible to major feature disruption.
- rbanffy 14y agoIsn't this what Time Machine (or git, or svn, or cvs) is for?
- crazygringo 14y agoMy biggest problem is that Apple is not explaining these changes. With the original Save/Save As, the concept was easy to understand after someone took 30 sec to explain it to you. You knew exactly what was happening. But with Apple's new changes, Apple has made autosave and versions the new paradigm (awesome), but they've done a terrible job at explaining how to do anything but that. How do I edit something and then save that edit as a new document without affecting the original? If I copy a file, does the whole version history get copied too? What if I send it to someone? What if I want to delete the version history period? What if I want to "duplicate" a file but not save it anywhere, because I just want to mess around with changes for a while? I've been using Lion since it came out, and I don't really know the correct answers to any of those questions.
- X-Istence 14y agoThe version history is stored by the file system and not by the file itself. If you copy the document you don't store any of the version history and you can't revert (from my experience). Also, if you send the file to someone they get the latest changes, they don't get any history... the history is snapshots made by the OS much like Time Machine does for backups, except it is done every so often automatically (auto save) and not to an external drive. The only real cock-up is the Save As. Save As should save the new file, and revert the old file back to what it originally was (the last time I explicitly saved, not the spot that auto save last saved). If you want to modify a copy of the file, before you start your modifications you simply choose File -> Duplicate and it opens the same document but with a different name. When you save that one it will have an entirely new history associated with it. The fact that it is a file system feature that is baked into the OS means that all apps can take advantage of it if they want and the overhead is small. It also means that apps no longer need to keep notes about what modifications were done to what, instead being able to rely on the auto save feature. The other nice thing is that since it is not part of the document and is outside of it, data leakage is much less of an issue than with other file formats such as Microsoft Word where recovering previous text is rather simple and can lead to data leaking that you wouldn't want leaking.
- ktizo 14y ago
- rogerchucker 14y agoUnfuckingbelievable - which einstein inside one infinite loop came up with this gem?
- pooriaazimi 14y agoThey should add a third (or fourth?) option: "Move changes since last opening to a duplicated file and revert this file" It's long and would look ugly, so they'll never implement it. But they should. (I'm not a pro git user, and don't use `stash`, but I think what I described is like `stash`ing changes, checking out into a new branch, `stash pop` and then `commit`ing...)
- rb12345 14y agoAs Mountain Lion effectively commits all changes to the current branch automatically, the Git equivalent would be: git branch new-branch git reset -hard <startpoint> which is effectively what people are having to do in Mountain Lion by hand. The difference is that Git users expect that and know how to do it, unlike your average new Mountain Lion user coming from OS X 10.6 or Windows.
- thomas-st 14y agodefaults write -g ApplePersistence -bool no Problem solved.
- CrLf 14y agoWhat exactly happens when you do this? Do we get the old (sane, pre-Lion) behavior back, or does it just disable versions leaving everything the same (which is worse)?
- thomas-st 14y agoYou get the pre-Lion behavior back. For TextEdit you additionally have to disable autosave so you don't get error messages: defaults write -app textedit AutosavingDelay -int 0
- jaylevitt 14y agoI think we're all conflating "worst case" with "common case" of Save As and Duplicate. In the worst case, the traditional filesystem behavior could lose your data if you accidentally hit "Save" instead of "Save As". In the common case, it let you save off new versions without affecting your existing version. The (Mountain) Lion paradigm removes the worst case; you can always revert and recover. But the behavior of the common case gives the appearance of lost data, and violates both Principle Of Least Surprise and Do What I Mean.
- PaulHoule 14y agoMountain Lion made me greatful for bootcamp. I've resolved to use my Mac Mini as a Win 7 machine from here on out.
- ams6110 14y agoI dislike auto-versioning as I have no control over the process or even an understanding of the space used In this era of cheap terabyte-scale storage, concern about the space used for versions of a document is NOT something that should occupy your mind.
- whatusername 14y agoBecause my Mac Book Air has terabytes of free space??
- glhaynes 14y agoThe files are chunked and only the pieces that have changed are stored across versions. In all but the most corner of corner cases, the extra storage used is negligible. (This same chunking also helps iCloud keep iCloud-stored files in sync across devices without using a lot of bandwidth or being out-of-sync for as long during the upload/download process.)
- ams6110 14y agoI dislike auto-versioning as I have no control over the process or even an understanding of the space used In this era of cheap terabyte-scale storage, concern about the space used for versions of a document is NOT something that should occupy your mind.
- brudgers 14y agoIf Steve were here, he'd say "Just Save Your Files Differently."
- andrewfelix 14y agoFor the layman I understand this kind of functionality. But as a creative who is constantly saving multiple modified files for clients, this is awful. I'm assuming/hoping Adobe will not integrate this 'feature'. Apple should have at least changed the semantics. The term 'Save as' is understood by the majority of users to be what it has been for the last couple of decades.
- kapuzineralex 14y ago"Save as" overwrites the original file as well like "Save" does? OMGWTF
- snowwrestler 14y agoThe big question here is data loss, which the article alleges but does not really prove. The author basically says "I don't understand versions, so I don't trust them." Many folks have pointed out that since Mountain Lion auto-saves all file versions, there actually is not any data loss. Just revert the file. However, my reading of the Apple support document [1] is that versions are discarded over time. It says: > OS X Lion manages the version history of a document, keeping hourly versions for a day, daily versions for a month, and weekly versions for all previous months. This would seem to indicate that if you downloaded a file from your camera, then made changes that were autosaved to the original file, the original version would be discarded after 24 hours had passed--the several "hourly" versions reduced to a single "daily" version. If that is true, it is really problematic. If version control software is to be trusted, I think it should not discard versions. [1] http://support.apple.com/kb/HT4753 http://support.apple.com/kb/HT4753
- kbronson 14y agoHAHAHA... is this true? I can't believe it. Where has the "rule of less surprise" went? So "Save As" now means "Save the document with its current name and as this other one". HAHAHA.
- billni 14y agogood
- rjzzleep 14y agowelcome to osx the only thing osx has over other platforms is the ease to create good looking gui applications. i do miss it every now and then. but not really that often.
- akmiller 14y agoThis really messes with the way I work with images. I'll open base prototypes and start playing with changes not knowing at that point if I'll want to save them or not. If I end up keeping them, at that point I'd save as a new file. Seems like auto-save should be app level preferences that should be able to be turned off. I don't want to duplicate a file every time I want to do some experimentation!
- ricardobeat 14y ago> I don't want to duplicate a file every time I want to do some experimentation! But you want to keep it "in memory" while you experiment with it. The new model is more natural: if you paint on a canvas, it's painted. If you want to experiment, use the magical canvas duplicator and work on that copy, then just throw it away if you don't want to keep it. That said, they shouldn't have brought Save As back. Imposing a new model is already upsetting, making old functionality behave differently is terrible.
- CrLf 14y agoVersions has been the single "feature" preventing me from upgrading to Lion, and it makes me sad that things haven't gotten any better in Mountain Lion. I want to be in control of what I save, when I save it and IF I want to save it. Versions would be a nice feature if they worked as a background safeguard and not as the main way of persisting changes. Many times I open files to try stuff out, and I DO NOT want anything saved. With images, I end up doing this much more often than actually making changes I want to keep. I think this whole feature is a sure way of losing data. Have they fixed how versions work with non-HFS+ filesystems yet? The last time I checked, no versions were saved in this case, but the system kept persisting your changes immediately: you edit a photo, make some changes, decide you don't want them and... too late, no way to revert to your original version. Like someone else already mentioned in another comment, I'm about this close of installing Windows 7 in both my Macs. This is no way for a proper OS to behave and this whole "this is the way of the future, just keep up with the program" blind fanboyism is making me sick.