'Undo' weird behavior with multiple move operations

Hello all,

I've just noticed a behavior about 'undo'.
Let's say you move file1 from folder A to folder B, then you move file2 from folder A to folder B.
When you 'undo', file2 is moved back from folder B to folder A.
if you 'undo' a second time, file2 is moved again from folder A to folder B (as if last operation was a file2 move from B to A...)

it doesn't seem a natural way to use an undo operation.
It could be more logical to behave like this :
'undo' moves back file2 from B to A
'undo' (second time) moves back file1 from B to A

it's like if an 'undo' operation is considered itself as an opearation that can be undone.
Seems a bit weird. It's more a behavior of a 'redo' operation.

When you delete a file it's not working this way.
you delete file1
you delete file2
'undo' will recover back file2
'undo' (2nd time) will recover back file1

it's more natural this way, so why the move operation is not having the same type of behavior ?

Some ideas to improve this in dopus :

  • adds a 'redo' operation to separate from a regular 'undo' operation
  • when 'undoing' a move operation, don't consider this as a regular move operation (and don't add it to undo list)

maybe that's not that simple to implement of course. That's just ideas.

Cheers
Ant

Edit > Undo List for undoing something other than the previous action.

More discussion here: Redo-button