One more thing. I accidentally dragged/dropped a folder into another, and couldn't tell which one I moved. In Explorer, I can Undo this type of operation, but not in Tracker.
Is Undo planned for Tracker?
Undo
-
admin
- Site Admin
- Posts: 66298
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Undo
Cooldiarrhio wrote:Is Undo planned for Tracker?
So I'm aware it's missing. However, Undo is not a trivial thing because some file operations cannot be undone (like when over-write happens). Also I'm not sure about the best structure/interface of a good Undo-implementation: should it work like a history (roll back step-by-step), or are there other possibilities?
Maybe you've seen a convincing Undo-implementation or have some ideas...
-
diarrhio
- Posts: 83
- Joined: 14 Jun 2005 09:42
I'm not familiar with the Win32 API for file operations enough to know if they offer undo support of any kind at all, or if it's just something that explorer keeps track of itself.
That being said, Explorer's undo framework is ok, at best. It's better than nothing, but it doesn't have redo (at least not that I'm aware of) and it doesn't maintain a history of file operations you can look up, a al Word or almost any other program they have. I'd say that redo is a must have. Undo always feels "incomplete" without redo, which is really easy to implement once you have undo down.
The only other undo implementation i've heard of is an undo "tree" instead of a list. I have no idea how that is supposed to work, or if it's ever actually been implemented, but it's been requested of me before.
D
That being said, Explorer's undo framework is ok, at best. It's better than nothing, but it doesn't have redo (at least not that I'm aware of) and it doesn't maintain a history of file operations you can look up, a al Word or almost any other program they have. I'd say that redo is a must have. Undo always feels "incomplete" without redo, which is really easy to implement once you have undo down.
The only other undo implementation i've heard of is an undo "tree" instead of a list. I have no idea how that is supposed to work, or if it's ever actually been implemented, but it's been requested of me before.
D
-
admin
- Site Admin
- Posts: 66298
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
For all I know there's no API support for Undo (which I take as another hint that it's not a trivial task).diarrhio wrote:I'm not familiar with the Win32 API for file operations enough to know if they offer undo support of any kind at all, or if it's just something that explorer keeps track of itself.
I agree that Undo should be complemented by Redo, and that it's easier to do than Undo. And it would be another nice advantage over Explorer.
I'll do some meditation about Undo and if can see a way to make it good I'll make it.
EDIT: research on Undo is like riding through Death Valley! Scattered bones and stinking corpses of generations of developers that tried and failed to find the holy grail of Undo. Overhead circling MS-vultures...
-
diarrhio
- Posts: 83
- Joined: 14 Jun 2005 09:42
That is what I figured. Undo is kind of hard to addadmin wrote:EDIT: research on Undo is like riding through Death Valley! Scattered bones and stinking corpses of generations of developers that tried and failed to find the holy grail of Undo. Overhead circling MS-vultures...
"after the fact" and I'm sure MS didn't plan on it early on.
Anyways, anything you can come up with would be great. Thanks!
-
Leopoldus
- Posts: 237
- Joined: 24 Jun 2004 10:58
-
diarrhio
- Posts: 83
- Joined: 14 Jun 2005 09:42
All of them, really. But mainly copy/move ops. Everything else is gravy, since it's more than what Explorer does.Leopoldus wrote:Sorry, I don't understand which operations for you mean to use Undo and Redo? Do you mean files moving and copying? Or files renaming?
If you are speaking about files renaming undo, so you coud take a look how it is imlemented in Total Commander 6.50 in multy-renaming module.
-
Chris Wood
- Posts: 272
- Joined: 25 May 2004 13:01
- Location: Wellington, New Zealand
- Contact:
-
admin
- Site Admin
- Posts: 66298
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
XYplorer Beta Club