To simplify undo/redo
Posted: 05 Apr 2022 01:52
This is a humble request to simplify undo/redo.
Let's compare.
Windows native file manager:
XYplorer, "Undo & Action Log | Delete to recycle bin" is ON:
If you have created or copied a new file and pressed Ctrl+Z, XY will ask you for confirmation to place that file into Recycle Bin. However, if you have edited that file after creating it, there will be a warning dialog that you are going to delete a file that now has contents. But:
If you have created or copied a file and pressed Ctrl+Z, XY will ask you for confirmation to delete that file permanently. This will simplify things, but there is a drawback that if you have created some file, edited it, pressed Ctrl+Z, and then answered "Yes", the file will be deleted without any possibility to restore it.
I love that with XY we can manage almost everything, but imo Undo/Redo are overcomplicated and in some aspects just weird. The default Windows Undo/Redo imo is just perfect and there may be much better to use it as is.
tested with win7 and xy 23.00
Let's compare.
Windows native file manager:
- If you have created a new file and pressed Ctrl+Z, Windows will never try to delete that file permanently or place it into Recycle Bin. Instead, it will "jump" to N-1 action in its action log. For example, if you have renamed some file before creating the file we are talking about here, Windows will rename it back to its original name.
- If you have copied a file and pressed Ctrl+Z, Windows will ask you for confirmation to delete that file permanently (that is, no Recycle Bin).
XYplorer, "Undo & Action Log | Delete to recycle bin" is ON:
If you have created or copied a new file and pressed Ctrl+Z, XY will ask you for confirmation to place that file into Recycle Bin. However, if you have edited that file after creating it, there will be a warning dialog that you are going to delete a file that now has contents. But:
- Unless the user already knows that "undoed" newly created or copied files are never restored by XY from Recycle Bin, and XY will create a new file instead (that is, any content will be lost), the user has no glue why he or she have another warning before the first one!
The first dialog:
The second dialog:
- Okay, the user may open this forum and ask someone why there two almost identical consequental warning dialogs. Or he/she may open the Help file. But heck. Isn't it overcomplicated? And isn't the idea of creating new files when (normally) the user expect something will be restored is just flawed?
If you have created or copied a file and pressed Ctrl+Z, XY will ask you for confirmation to delete that file permanently. This will simplify things, but there is a drawback that if you have created some file, edited it, pressed Ctrl+Z, and then answered "Yes", the file will be deleted without any possibility to restore it.
I love that with XY we can manage almost everything, but imo Undo/Redo are overcomplicated and in some aspects just weird. The default Windows Undo/Redo imo is just perfect and there may be much better to use it as is.
tested with win7 and xy 23.00