simple-keyboard icon indicating copy to clipboard operation
simple-keyboard copied to clipboard

Place for the clipboard

Open RedstoHack opened this issue 1 year ago • 14 comments

Can these examples become reality? photo_2024-10-05_17-42-26 photo_2024-10-05_17-42-21 When you press the dot symbol, a clipboard control key will appear. In addition, it will be good if you add disabling the clipboard in the application settings. What if someone doesn't like it)))

RedstoHack avatar Oct 21 '24 06:10 RedstoHack

I second this: it's a very important feature for me, as the standard method (holding tap on the input field) doesn't work everywhere.

However, it seems to me that this button for clipboard would be better inserted into the group that appears when you hold down the comma, as there is only a settings button there.

algor512 avatar Jan 05 '25 14:01 algor512

I agree with you, algor512

RedstoHack avatar Jan 05 '25 17:01 RedstoHack

Hey yeah, I think the idea with long pressing and holding the key on the keyboard is a good idea for opening the clipboard. Considering that the developer does not want to add a separate line for this. I hope to add this in the future.

I am not a programmer, but I think it is not that difficult to implement.

Kr1shtan avatar Jan 10 '25 17:01 Kr1shtan

I agree with you, Kr1shtan. It is a pity that there is very little information on the Internet about creating a clipboard.

RedstoHack avatar Jan 11 '25 08:01 RedstoHack

Long-press "," is probably the only option that doesn't clutter the layout. It has the issue of not being obvious but for those that really want it can manage to find it. Can try this out after the optimization release goes public.

Another long-press option was enter, but that is even more not obvious.

rkkr avatar Jan 11 '25 10:01 rkkr

For the brave souls #488

image

app-release.zip

rkkr avatar Jan 11 '25 17:01 rkkr

Great! Thank you very much, rkkr! Will it be possible to select one of several copied items in the future? At the moment, only the last copied item can be inserted.

RedstoHack avatar Jan 11 '25 17:01 RedstoHack

For the brave souls #488

image

app-release.zip

what the hell, so it was that easy to press? damn, that's really cool, I think it's really convenient. thanks 🙏

Kr1shtan avatar Jan 11 '25 17:01 Kr1shtan

For the brave souls #488

image

app-release.zip

and do you plan to add this in the next major releases? I think users would find this long-awaited update useful.

and by the way, agreeing with RedstoHack, it's nice to see the clipboard, well, what if I want it to remember more, if I want to conveniently separate phrases and words to search for something in the browser or when communicating with friends. not to have one big message with three words that will need to be selectively erased separately during correspondence, but I want to have three separate messages inside the clipboard, for example.

Kr1shtan avatar Jan 11 '25 18:01 Kr1shtan

If this doesn't introduce issues probably it can get merged. I'm not sure about the button order yet. Paste would be used a lot more than the settings. But this also moves the settings button position.

"multiple copied items" is not likely to happen. Android just like Windows only has a single clipboard entry. What those clipboard managers do is monitor your clipboard changes and store them into their own history. That's a big hack. Plus a UI would be needed to pick what to paste.

rkkr avatar Jan 11 '25 18:01 rkkr

If this doesn't introduce issues probably it can get merged. I'm not sure about the button order yet. Paste would be used a lot more than the settings. But this also moves the settings button position.

"multiple copied items" is not likely to happen. Android just like Windows only has a single clipboard entry. What those clipboard managers do is monitor your clipboard changes and store them into their own history. That's a big hack. Plus a UI would be needed to pick what to paste.

But is there a chance that this feature will be added?

RedstoHack avatar Jan 12 '25 02:01 RedstoHack

For the brave souls https://github.com/rkkr/simple-keyboard/pull/488

It doesn't work on my phone, strange.

https://github.com/user-attachments/assets/ff181588-8427-4469-9092-776e58b51d01

algor512 avatar Jan 12 '25 11:01 algor512

You copied HTML not TEXT. Mostly fixed in a leter commit. The strange part will be that it will still translate to plain text loosing formatting and links.

rkkr avatar Jan 12 '25 12:01 rkkr

You copied HTML not TEXT. Mostly fixed in a leter commit. The strange part will be that it will still translate to plain text loosing formatting and links.

Thank you, I see. I think it would be more convenient if the button on the keyboard worked exactly the same as ‘Paste’...

algor512 avatar Jan 13 '25 14:01 algor512

For the brave souls #488

image

app-release.zip

I believe you can try to implement a clipboard ui within this exact popup intent

wretchedneo avatar Aug 04 '25 17:08 wretchedneo