Hacker News new | ask | show | jobs
by bobbylarrybobby 1138 days ago
It makes sense if you accidentally paste somewhere to immediately be able to undo. But, just like in a text editor, undo should undo the most recent change. Once a copied file has edits, the copy operation isn't most recent, so that's not what should be undone. Of course, file explorer would need to be aware of changes to files it hadn't made for this to work.
2 comments

I hate to admit it, but this is a valid point. I've used the undo/redo stack in Windows when moving files around and it can be very useful. Consistency of the UI is something I value and often fault microsoft for not having ;-) So undo the copy but they need to get it right - can't undo once the file changed.
i guess simple check for file size and last modification would do the job
>> i guess simple check for file size and last modification would do the job

Or instead of adding even more code, they could remove the feature and let the user Delete the copy.