Add Undo Functionality
Corresponding Bugzilla item: https://bugzilla.gnome.org/show_bug.cgi?id=509267
Where's ctrl-z when you need it? There's several aspects to this. Naive undo would include being able to remove some typing or a paste operation you did to a field that you didn't intend. Sophisticated undo would let you reverse a transaction that you messed up without having to hunt for what account it's in now. Even more sophisticated might be multiple levels of both Undo and Redo, and a hint in the menu next to each about what would happen if you chose that option.
This is another simple time-saver that's probably been mentioned elsewhere but may be worth listing here for tracking purposes.
i think if it where easy to implement it would already be implemented. the big problem here is you need to "cache" the splits and transactions but since updates on db are done as "SQL transactions" kind of thing once committed it kind of defeats the purpose of the SQL transactions.although you could store them as "actions" to be translated into "rollback-able" items. but this would require double queries to db.
It's SO EASY to make a mistake. I've already made several!
This program is presented as a tool for managing REAL, ACTUAL FINANCES.
Also BAFFLING is that it's impossible to cancel a mis-click by hitting 'Esc' instead of 'Enter'. What if I don't remember the original data that I've just accidentally erased or edited?
PLEASE add undo!
Melroy van den Berg commented
Must have feature! Come one..
Mean while I use the Cancel button from Menu bar. If there was a way to make the Ctrl+Z the same action of the "Cancel" from Menu bar it would be great!
Emmanuel Florent commented
It's a must. Perhaps a complete chain of list of change have to be implemented is for replaying an history with little batches in the list. But it's a must have!
ian rendak commented
A simple "Esc" before pressing the "Enter" key would be a start: I find if I partially overwrite a previous entry, I can't even "cancel" the partial error by pressing "Esc" !? For instance if the date is partially bungled, "exiting" by clicking elsewhere gives the "default" date rather the previous correct entry...
Stephen Holland M.D. commented
bump one on this. Erroneous transaction deletes are very easy to do, and the software even lets you turn off the "are you sure" functionality.
Tommy Trussell commented
Invoking UNDO could also be a way to override autofill. Type a description, tab, autofill invoked, hit undo, and the autofill is undone but not the just-typed description. (The next undo could do that.) This is how auto-correct is often implemented in OpenOffice or Microsoft Word; the first undo just undoes the autocorrection or formatting.
Admincstim (Core Developer, GnuCash) commented
As a pointer to previous discussion: https://bugzilla.gnome.org/show_bug.cgi?id=509267
Also, the suggestion is surely a good one, but in the current code base this is a very hard task.