Actions on Mouse Down

Actions, including deleting an email are based on Mouse Left Button Down.
They should be triggered based on the Mouse Up event instead. It just adds a slight delay and is expected behaviour, this is how everything else works. Instead, the event / delete / etc. happens too quickly / suddenly.

That would be unusual to program a client to delete an email with mouse button up.

is expected behaviour, this is how everything else works.

I don’t know of any other mail client that does that.

If you’re left or right handed you normally press the mouse button down to delete mail.

If you then accidentally deleted the mail just press “Undo” at the bottom of eM Client.

Or undo via shortcut keys Windows: “Ctrl + Z”
Or Mac “⌘ + Z` (Cmd + Z)

I’m aware of the Undo function. That’s not what I’m reporting.

The issue is that the Delete command executes on MouseDown rather than MouseUp. This is a UI behavior problem, not a request for help recovering accidentally deleted messages.

Standard button behavior is to execute an action on MouseUp, provided the pointer is still within the button. This allows the user to cancel a click by moving the pointer away before releasing the mouse.

That would be unusual to program a client to delete an email with mouse button up.
No. It’s standard behaviour. Actions are based on the Mouse Up event. Go to any button, left click, hold the mouse down, then release. Notice the button action does not occur until you release, ie the the Mouse Up event.

I don’t know of any other mail client that does that.
It’s not just mail clients. It’s standard Windows UI behaviour. Actions occur on Mouse Up. For instance, go to the Google home page. Click on the “Search by Image” icon. Notice the pop-up does not occur until you release the button.

Action on Mouse Up is documented by Microsoft.

Have clicks take effect on mouse button up. Allow users to abandon mouse actions by removing the mouse from valid targets before releasing the mouse button. For most mouse interactions, pressing a mouse button only indicates the selected target and releasing the button activates the action.

Hi defenderjim,

Thanks for the clear explanation. So the request is that buttons such as Delete act only when the mouse button is released, so that a click can still be cancelled by moving the pointer away before releasing it.

We have passed this to our developers. We could not find this request on our feedback portal yet, so please add it at https://emclient.sleekplan.app so other users can vote for it. Requests with more votes are easier for the team to plan.

eM Client Team

Ok, great. I didn’t see the feedback portal before. I’ll check out the link, thanks.