How to lose your work using Undo Copy in Windows - mihai.fm

https://mihai.fm/how-to-lose-your-work-using-undo-copy-in-windows/

While not strictly related to programming, this is very surprising and harmful behavior that demonstrates how important thinking about edge cases is.

19 points · 5 comments · view on lemmy.world

5 Comments

lowleveldata@programming.dev · 7 pts · 3y (1 reply)

What is the use case of a "Undo Copy" feature anyway? I can see some cases that I'd want to "Undo Cut" but why do we need another shortcut to delete a file just because it was copied?

Suppoze@beehaw.org · 1 pts · 3y

For example, if you Control+V-d the files into the wrong folder in windows explorer. I've undoed copies many times this way.

However, the post doesn't mention whether this behavior is present with Ctrl+Z as well. If so, that's even words, because you wouldn't even get to read the action you're about to perform.

l4sgc@programming.dev · 5 pts · 3y

I've never even noticed an undo-copy option before, but as someone who frequently misses the button I intended to click, this is terrifying. Gonna have to git commit before every time I open explorer.

IceWolf@masto.brightfur.net · 4 pts · 3y

@sisyphean Oh yikes. KDE asks you if you want to delete the file here.

Kalkaline@lemmy.one · 3 pts · 3y

That person speaks from experience, an experience that's made them extremely bitter.