Hacker News new | ask | show | jobs
by abanana 10 days ago
Please don't change expected behaviour!

Excel does, as the author mentions, and it's a massive pain in the arse because it doesn't do what it should.

The "cut" action is supposed to immediately put it into the clipboard, so you can paste that text into other programs if you want to.

Thinking you know better, is really not a reason to break your users' expectations and normal workflow. It's quite possible your idea is a good one, but it's not worth breaking it for the majority, to improve it for a few.

1 comments

Exactly.

You also open the gates to many edge cases where I don't know what it is supposed to happen.

What if I never paste the cut text? Does it stay faded?

What if I copy some other text, maybe on another app, before pasting? Do I paste the faded text or the new copied one?

Also, as you mention, I hate that you can't paste on a different program given the fact that the clipboard is untouched when you press ctrl-x

The gain is so minimal for a lot of headaches if you don't follow the happy path

The Excel workflow is surprising from the viewpoint of consistency with the OS but works pretty well for Excel users. Cut, paste multiple times, enter for the last one. I notice the multiple paste doesn't work on Excel on the Web.
The clipboard is very weak in Excel. If I copy something, update a cell somewhere and then paste elsewhere, the clipboard vanishes and I need to copy all over again.
But excel cells are not simply text: it is a different format, I don't have specific existing behavior for that.

It is very different with plaintext