disable undoing saved changes?

• Mar 15, 2011 - 12:05

version: 1.0
revision: 3996

I notice that the undo command will undo changes that have been saved to a file. I can easily understand how this behavior could have real benefits, but in my workflow this can sometimes cause me problems. Sometimes I save a work in progress then do a little experimenting/tweaking. If I don't like the way the experiment is going, then I "undo" the tweaks. In this case I definitely do not want to undo any of the changes made before the file was saved.

q: Is there a way to disable the "undoing saved changes" behavior in musescore 1.0?

note: I've seen a few software packages that support "undoing saved changes" throw up dialog boxes that ask the user to confirm the operation because it may not be desired (and of course many packages that simply do not support undoing saved changes)


Comments

No there is no way to disable undoing save changes. But you can File -> Save a copy instead of Save as.

XCode is one of the software that ask you if you want to undo saved changes and it always seem counter intuitive to me.
Eclipse, PSPad, OpenOffice works the same way than MuseScore

In reply to by [DELETED] 5

This may be related, if only vaguely.

I notice that MuseScore saves files two ways -- once with the regular extension of “.mscz” and a second time adding a comma -- “.mscz,”. This second file, with the extension, seems to be the previous version.

If I ever needed to pull up the previous version, is there a way to do this?

In MuseScore you can undo saved changes as long as the file is open. Similar to most applications, when you close the file, MuseScore forgets the undo history (because it is saved in temporary memory only, not in the actual file).

There have been several times when I wished I could undo a change I made in a previous session (not just in MuseScore but several applications). However, perfect undo history would be a prerequisite to saving the undo history with the file. Unfortunately, MuseScore is not there yet (there are still some bugs). If it is introduced, maybe one way to limit the risk would be to limit the undo history to a certain number of actions (maybe the last 100 actions), instead of going all the way back to the inception of the file.

I can see how it might be confusing to save the undo history with the file. For example if someone shares a file with you, going to Edit > Undo might undo things that you, yourself, did not do. It is also different from most applications.

In reply to by David Bolton

yikes! I have no idea how undo history is tracked/saved in musescore, but I would imagine that undo history properly belongs in a "session" file rather than in individual score files? Is there active development in musescore towards saving undo history so that it could be available across sessions?

Sometimes I save a work in progress then do a little experimenting/tweaking.

Sounds like a "Revert to Saved" command would be useful to you. This is available in many applications, and avoids all the complications and interpretations which have been brought up in this thread.

Edward

In reply to by mtherieau

So you want a command that would take the place of the following two steps:

1. Close existing score (without changes)
2. Reload your saved score from the Open Recent menu.

?

In reply to by [DELETED] 5

schepers: yes, it's a shortcut. Do you object to shortcuts? If I only need this once a week, then a shortcut has no value and may even add to clutter. The OP made a fairly good case that it would be useful for them.

lasconic: Ah-ha. I think it would be a good idea to change the name of the command to "revert to saved". Though I don't claim to have a survey of all applications handy, I've seen "revert to saved" in many and this is the first time I've seen "reload". I would not have guessed the meaning. "Revert to saved" explains the command in three words: "reload" explains almost nothing.

Edward

In reply to by paleolith

No, I'm not objecting to any shortcuts. I just wanted to make sure that the OP and all reading that this feature was only two very easy steps. However, it seems we both didn't notice that the "Reload" option was already there. Chalk up another feature that I now know about.

In reply to by paleolith

The phrase "Reload" is used in other software (e.g. Notepad++), but you are correct that "Revert..." is also used (e.g. Inkscape, Finale). I don't remember seeing the exact phrase "Revert to saved".

Reload actually behaves slightly different from revert. Reload just closes and reopens the file (and asks whether you want to save changes before closing the file). Revert has its own dialog that confirms whether you really want to revert to the previous save (rather than using the generic close dialog). The special revert dialog probably makes things clearer to the user.

Do you still have an unanswered question? Please log in first to post your question.