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

3 years ago by š•Šš•šš•¤š•Ŗš•”š•™š•–š•’š•Ÿ to c/programming

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

lowleveldata 7 points 3 years ago

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?

path: 0 190515, hotness: undefined, score: 7, children: 1
Suppoze 1 point 3 years ago

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.

path: 0 190515 360935, hotness: undefined, score: 1, children: 0
l4sgc 5 points 3 years ago

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.

path: 0 193253, hotness: undefined, score: 5, children: 0
IceWolf 4 points 3 years ago

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

path: 0 185907, hotness: undefined, score: 4, children: 0
Kalkaline 3 points 3 years ago

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

path: 0 184867, hotness: undefined, score: 3, children: 0
programming
programming

@programming.dev

login for more options
28853
3730
3340

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities !webdev@programming.dev


go to feed...