HeliBoard icon indicating copy to clipboard operation
HeliBoard copied to clipboard

Add a short "text copied" popup when tapping the copy icon shortcut

Open popogomo opened this issue 1 year ago • 6 comments

We have an ability to pin shortcuts above the keyboard and the Copy icon is one of them.

It works flawlessly, however, doest provide any feedback when we tap on it so its hard to tell if the tap was successful or not without actually checking the clipboard content which is an extra unecessary step. Besides, we might tap it accidentally which will result in clipboard being flooded.

Can you please consider showing a visual effect (like "pressing" effect) when tapping the icon and implementing a toggle that will display a short pop up message above the icon or maybe underneath the keyboard informing the selected text was copied to clipboard? This will provide a great visual feedback. Thanks a lot!

popogomo avatar Mar 04 '24 23:03 popogomo

Can you please consider showing a visual effect (like "pressing" effect) when tapping the icon

That already exists

implementing a toggle that will display a short pop up message above the icon or maybe underneath the keyboard informing the selected text was copied to clipboard

Google apparently enjoys being annoying, and starting with Android 12 or 13 the default Android popups ("Toast") do not work any more without requesting notification permission. So instead of adding a single line of code there is considerably more work to do... (I don't want to add any "unnecessary" permissions)

Helium314 avatar Mar 06 '24 04:03 Helium314

Can you please consider showing a visual effect (like "pressing" effect) when tapping the icon

That already exists

implementing a toggle that will display a short pop up message above the icon or maybe underneath the keyboard informing the selected text was copied to clipboard

Google apparently enjoys being annoying, and starting with Android 12 or 13 the default Android popups ("Toast") do not work any more without requesting notification permission. So instead of adding a single line of code there is considerably more work to do... (I don't want to add any "unnecessary" permissions)

Thanks - it might be me being stupid, but there is no "pressing effect" when I tap to Copy shortcut added above the keyboard - the icon just "stands still" as if not tapped. Maybe there is a settings for it? Thanks.

popogomo avatar Mar 09 '24 22:03 popogomo

There is no setting. It should lighten or darken the background while it's pressed, But I just checked, and looks like the color change is currently broken if you have key borders disabled (at least for non-dynamic colors). That part should be easy to fix.

Helium314 avatar Mar 10 '24 04:03 Helium314

There is no setting. It should lighten or darken the background while it's pressed, But I just checked, and looks like the color change is currently broken if you have key borders disabled (at least for non-dynamic colors). That part should be easy to fix.

Thanks a lot for this, will make it so much straight forward to use!

popogomo avatar Mar 11 '24 12:03 popogomo

@popogomo what android version are you using? in android 13+ there should be some sort of notification when the clipboard has content copied

I am on GrapheneOS running the latest Android.

Yes, I am getting a notification now but it started to appear after upgrading to Android 14.

@Helium314 I think the issue can be closed now as that notification does the trick.

popogomo avatar Apr 25 '24 20:04 popogomo