HeliBoard icon indicating copy to clipboard operation
HeliBoard copied to clipboard

Add pop-up for clearing clipboard

Open NikunjK8 opened this issue 1 year ago • 2 comments

Is your feature request related to a problem? Please describe. Yes. There are various ways one could accidentally clear the clipboard. Specially when you have bigger thumbs.

  1. Accidentally double clicking the clipboard button when clear clipboard button appears in the same location as clipboard
  2. Trying to press any other button from Toolbar, as they are all very close
  3. Trying to press a entry in top row to paste as they're close to toolbar buttons as well.

Describe the solution you'd like A pop-up asking user if they really want to clear everything instead of executing it right away.

Use case Already described.

Describe alternatives you've considered (if any) An undo button which will stay for like 2-3 seconds, giving enough time for users to restore everything.

NikunjK8 avatar Jun 29 '24 14:06 NikunjK8

Note that you can tweak the settings to move the button to a different top row, so you have to click the row switching button first (kind of an implicit confirmation) to access the less frequently used buttons. Or you can move the button to the other side of the row, far from the buttons that you use frequently.

But if a confirmation is added, please make it optional. I use the clipboard clear button very frequently, a confirmation dialog would be cumbersome.

opk12 avatar May 18 '25 16:05 opk12

Clipboard is my most used button so moving it elsewhere is very impractical too

NikunjK8 avatar May 19 '25 06:05 NikunjK8

Always a fn of (optional) confirmations before destructive actions. Though maybe a long-press to undo would be best, so no cinfirmatiin for those that it would hinder, and an esy way to recover. Of course, that would require the user knowing to do that and doing so quickly enough. The first issue my require a tooltip pop-up (which could also be tapped) asknng if they want to undo, and rhr second through a customizable timeout before the clearing is permanent.

vertigo220 avatar May 29 '25 16:05 vertigo220

What do you think about combining this with this feature #1453 and putting an "undo" button on the toast notification that undoes the clear? Maybe a text button in an accent color or an undo button like the one on the toolbar. Of course, if it's possible.

maruuk avatar Jun 11 '25 20:06 maruuk

What do you think about combining this with this feature #1453 and putting an "undo" button on the toast notification that undoes the clear? Maybe a text button in an accent color or an undo button like the one on the toolbar. Of course, if it's possible.

I'd take anything at this point honestly compared to what we have. I've lost so many critical entries.

NikunjK8 avatar Dec 02 '25 16:12 NikunjK8

We could use a Snackbar, but that requires the com.google.android.material:material library. Is it worth it?

eranl avatar Dec 02 '25 23:12 eranl

We could use a Snackbar, but that requires the com.google.android.material:material library. Is it worth it?

Many popular FOSS apps have two variants, one with all the features and one FOSS variant with google (or any other proprietary) libraries and dependencies removed. Take Breezy Weather and Image Toolbox for example. Heliboard already have a nouserlib variant. Is it possible to add this library in standard variant and exclude it from nouserlib one? Most people who would've a problem with a google library are probably the same people who use nouserlib variant anyway because the glide typing library also comes from google. This should be easier than having a 3rd different variant which will end up creating more confusion.

NikunjK8 avatar Dec 03 '25 03:12 NikunjK8

Actually nevermind. Sorry I'm not a developer. I just checked and this is a entire design library and not just a feature implementation. Not proprietary either. In that case the owner of this app have to decide.

NikunjK8 avatar Dec 03 '25 03:12 NikunjK8