News for hackers. Stuff that matters.
Re:Act on Press by abtinf on Thursday May 23, 2024 @05:20PM (#40460056)
Carmack wasn't kidding when he said "this always gets brought up" in reference to dragging to undo actions. Lot of comments here to that effect.

> Yes, this always gets brought up, but it is exceedingly rare in practice — everyone has a memory of the couple times they carefully canceled a press, but they don’t factor in the thousands of times they didn’t cancel an error, or the hundreds of thousands of times they hit a button correctly.

https://twitter.com/ID_AA_Carmack/status/1787853145197904063

> A related UI principle is “make everything easy to undo”, whether it is navigating back to where you just were, or undeleting a file. Don’t use it as an excuse for act-on-release, or a modal confirmation dialog. Just do it, but allow it to be un-done. For example, it should be easier to cancel an app launch in VR that you miss-clicked — it is irritating that the meta button doesn’t work during the launch process.

https://twitter.com/ID_AA_Carmack/status/1787859646104928405

> Everyone talking about being able to abort actions — consider how highlighting the control when the cursor/pointer enters the hit box, then acting on press gives you the same two stage commit, but without the delay to release. You can’t do it on most touch screens, but for mouse/VR it is the winning combination for any control that isn’t part of a view that needs drag scrolling.

https://twitter.com/ID_AA_Carmack/status/1787978078267806009

Re:Act on Press by teraflop on Thursday May 23, 2024 @05:28PM (#40460114)
> A related UI principle is “make everything easy to undo”,

But of course, there are plenty of actions that are fundamentally impossible to undo, such as sending an email.

So either you make those actions triggered on mouse-down, which means they're easy to do by accident, or you make them inconsistent with the rest of your UI.

Re:Act on Press by Bjartr on Thursday May 23, 2024 @05:43PM (#40460265)
> there are plenty of actions that are fundamentally impossible to undo, such as sending an email.

That's just a lack of imagination. Gmail and others allow undoing a misclicked send no problem. In cases it doesn't matter to the user if the action in practice doesn't happen exactly immediately, delaying it a bit while instantly providing feedback in the UI gets you the best of both worlds.

Re:Act on Press by edave64 on Thursday May 23, 2024 @05:53PM (#40460351)
Actions that are fundamentally impossible to undo should generally need confirmation anyways

Maybe not for the email example, but the other comments already adress than

Re:Act on Press by whstl on Thursday May 23, 2024 @05:30PM (#40460133)
...or just delay sending the email by a few seconds, like lots of clients currently do.
Re:Act on Press by DaiPlusPlus on Thursday May 23, 2024 @06:11PM (#40460491)
That works for email, but less-so in Slack or IM in general.

I did once play with a hacked-on delay-send setting, but any delay must be long enough to allow you to register making a mistake first, e.g. 3 seconds) but when it's that long it ruins spontaneity and the rapid back-and-forth experience when chatting away - in that situation I definitely prefer send-on-button-up, not send-on-button-down.

Re:Act on Press by whstl on Friday May 24, 2024 @04:59AM (#40464325)
Slack or IM isn't email, though. My answer was only regarding email.

Email doesn't require the spontaneity and rapid back-and-forth, so that's clearly two different problems that might require two different solutions.