Bugzilla – Bug 680
"Undo Recover" does not undo.
Last modified: 2019-08-10 12:14:59 UTC
See steps to reproduce.
2.0.0 does the same. I've suggested P4, on the grounds user could forget recovery has been undone and then not explicitly save the project before activating a close or quit command. Close or quit won't prompt for changes because the project is technically clean (though it doesn't appear to be).
This is really a non-bug I'm thinking. Yes technically this is a bug - and it would be better if recovery were precluded from Undo - but are we really bothered ? Or maybe the "Undo" would shunt the user back to the pre-recovery dialog? I don't see the point in doing that. This bug has sat here for nearly six years with no attempt to fix it. I can recall no users complaining about this - and the workaround is simple, just close Audacity.
Steve discussed this with me off line where he wrote >I have an idea about how the bug should be resolved, which I'll be happy >to post if we decide to reopen it. Accordingly I have re-opened this and assigned it to Steve. The basic question - is just why we bother to put the "Recover" on the undo stack in the first place :-// Note that if in the auto-recovery dialog the user selects "Discard Projects", there is no Undo action available for that.
I think the solution here is; When a project is recovered, the initial item in the History "Create new project" should be discarded. The History then displays in the same way as when opening an existing project (which is what Audacity has done).
Fix committed at 75fdadf6745e3bd18a9400905d17b48a31702bfb
(In reply to Steve Daulton from comment #5) >The basic question - is just why we bother to put the "Recover" >on the undo stack in the first place :-// Testing on W10 with audacity-2.3.3-alpha-299-0bdb09eefb256ec8e378c22ba140a12110e5afad The Recover is no longer placed on the undo stack - looks good to go on Windows
Testing on macOS 10.14.5 with mac 2.3.3 alpha jc004 of 25Jul19 The Recover is no longer placed on the undo stack - looks good to go on Mac too
The Recover is no longer placed on the undo stack - looks good to go on Linux too