emoji-selector-for-gnome icon indicating copy to clipboard operation
emoji-selector-for-gnome copied to clipboard

Possible to directly input emoji into currently selected text field?

Open nsrosenqvist opened this issue 6 years ago • 13 comments

Rather than having to resort to copy-paste, are there any plans on implementing support for the emoji selector acting as an input method instead?

nsrosenqvist avatar Aug 13 '18 18:08 nsrosenqvist

This is a quite difficult issue, i know that inserting directly emojis into the active text field would be better but it's very complicated and i've no idea how to do.

An example of input method could have been the OSK but it looks like they're struggling with performance issues

maoschanz avatar Aug 14 '18 01:08 maoschanz

D-Bus ?

abakkk avatar Aug 18 '18 22:08 abakkk

yes, and it leaks, so i'll look at it after the 3.30 release

maoschanz avatar Aug 18 '18 23:08 maoschanz

It would be nice indeed :slightly_smiling_face:

Maybe sending a shift+insert to trigger a paste? This behaviour should be optional though, I guess.

DidierLoiseau avatar Sep 19 '18 20:09 DidierLoiseau

yes, and it leaks, so i'll look at it after the 3.30 release

The 3.30 release has already came out. (e.g. my gnome-shell version is 3.30.1) Are there some news? Have you already "looked at it"? Has it became possible to type text into the focused input from a gnome extension? It'd be really cool if this feature will be implemented some time...

githubeing avatar Dec 09 '18 16:12 githubeing

no i'm doing something else, but i will eventually

maoschanz avatar Dec 09 '18 18:12 maoschanz

Any news?

vojta-horanek avatar Jun 09 '20 15:06 vojta-horanek

No

maoschanz avatar Jun 09 '20 16:06 maoschanz

Potential solution in this repo - https://github.com/Schneegans/Fly-Pie/blob/develop/src/common/InputManipulator.js It simulates a CTRL-V keypress to insert the clipboard text.

dominicjprice avatar Jan 21 '21 11:01 dominicjprice

I think a better solution would be to avoid using the clipboard entirely. A solution (potentially using the same lib) could be to send the unicode characters as <Ctrl> <Shift> u followed by the unicode codepoint and a space, as described here.

DidierLoiseau avatar Jan 21 '21 19:01 DidierLoiseau

Any progress on that front? Would you be interested in a pull request? @maoschanz

geecko86 avatar Sep 07 '22 08:09 geecko86

+1

This extension has implemented inserting text into selected text field, I don't know about gnome extensions that much, but this may help: https://github.com/oae/gnome-shell-pano

MohammadMD1383 avatar Sep 13 '22 17:09 MohammadMD1383

#189 Addresses this

khaled-0 avatar Jun 01 '23 05:06 khaled-0