• theshatterstone54@feddit.uk
    link
    fedilink
    arrow-up
    15
    ·
    edit-2
    24 days ago

    Similar story, though I was intending to send something kinda inappropriate to someone. I almost sent it to my mum because common contacts pop up when doing a share, so I pressed my mum, but then while moving my finger down I realised my mistake, and just did the best save I could. My finger remained pressed down on screen, essentially holding down the “share with mum” button, while I came up with the solution to hold down the power button until the phone restarted. Halfway through the bootup process, I realised I probably could have just pressed the power button so my phone would go to sleep instead and that would have fixed the issue.

    • my_hat_stinks@programming.dev
      link
      fedilink
      arrow-up
      13
      ·
      24 days ago

      If you’re pressing a button and want to cancel you can pretty much universally just move off the button before releasing the press and it won’t trigger the action. Works 99% of the time with a mouse, almost as often with a touch interface. Some custom-coded buttons will action on start press (not great imo) and some buttons do some other action on a long press, but if you’re holding it and nothing else has happened just dragging off is safe enough.

      • BCsven@lemmy.ca
        link
        fedilink
        arrow-up
        7
        ·
        24 days ago

        onmouseup vs onmousedown on click settings. Early days of computers/programs were less forgiving when you clicked it started the action