Bug 434932 - Emoji Selector should enter the selected Emojis directly
Summary: Emoji Selector should enter the selected Emojis directly
Status: CONFIRMED
Alias: None
Product: Emoji Selector
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Unspecified
: NOR wishlist
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords: usability
: 466924 497770 498601 (view as bug list)
Depends on:
Blocks:
 
Reported: 2021-03-25 13:26 UTC by qwerty287
Modified: 2025-03-14 12:09 UTC (History)
24 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description qwerty287 2021-03-25 13:26:53 UTC
Hello,

if I use the Emoji Selector and wants to add an emoji, I have to open the emoji picker, copy an emoji and then I have to paste it. It's a little disruptive, so why there isn't an emoji selector that enters the emoji directly when you click on them, like GNOME has? You could offer both emoji selectors, so you can choose which you want to use.
Comment 1 Nate Graham 2021-03-25 20:22:23 UTC
Indeed. very tricky to do, though, since such functionality really requires being an input method, and this is implemented as a tiny standalone app, rather than as an input method.
Comment 2 Alejandro Díaz 2021-03-27 00:29:18 UTC
A low-effort solution might be to implement the app in such a way that:

1. Opening the app leaves you in the search emoji field (so you can search the emoji you want right away)
2. Allowing to change the selected emoji with the keyboard (arrow keys) without losing focus on the search field
3. Copying the selected emoji on <Enter>
4. Having the app close after pressing enter (which should return focus to the app that was being used)


That would result in a workflow:

1. Alt + .
2. Type desired emoji (or select from recent with arrow keys)
3. Press <Enter>
4. Ctrl + v
(important: hands never leave the keyboard)

This would be less disruptive and roughly imitates the way Spectacle works (Print Scr shortcut)

All the functionality needed is already implemented in the app for this work. (minus the fact that the recent emoji view doesn't allow search and seems you can't search the recen emojis at all)
Comment 3 qwerty287 2021-03-27 09:51:49 UTC
It would be a solution, but there isn't much difference from the current selector. I think, it's better than the current one, but a real input method would be much better.
You could even use a trick: the emoji selector saves the text that's on the clipboard, copies the selected emoji, immediately pastes it where you want it and copies the text that was on the clipboard before.
Comment 4 Corentin Girard 2021-06-25 17:29:42 UTC
(In reply to ndev from comment #3)
> It would be a solution, but there isn't much difference from the current
> selector. I think, it's better than the current one, but a real input method
> would be much better.
> You could even use a trick: the emoji selector saves the text that's on the
> clipboard, copies the selected emoji, immediately pastes it where you want
> it and copies the text that was on the clipboard before.

I created this script as a workaround: https://github.com/Drarig29/auto-paste-emoji
Comment 5 edoardo.elidoro 2022-01-05 09:50:54 UTC
Is there any news on this?
The auto-paste emoji should be the default option IMO: I see no reason to not-auto-paste the chosen emoji from the list.
Comment 6 Nate Graham 2023-03-07 20:38:56 UTC
*** Bug 466924 has been marked as a duplicate of this bug. ***
Comment 7 deadmeu 2023-03-08 01:10:39 UTC
A potential workaround could be to accept a custom command to be run when an emoji is selected, which would have the selected emoji passed into it. We could then write our own custom hacky solutions to insert that emoji.
Comment 8 Thomas-Luke Duffin 2023-03-27 22:03:09 UTC
Bumping for support on this. Makes more sense and is how the UX works for other desktop emoji pickers such as on Mac or Windows.

Also meets expected UX on mobile interface, where emoji were popularized. The picker in KDE is great (better than windows in terms of aesthetics imo!) but this one weird quirk makes it cumbersome for more than one emoji 👎 😥 🥺
Comment 9 Luca Happel 2023-09-21 20:39:18 UTC
I am unsure how feasible the following proposal would be:
1. When the emoji-picker starts and we are on Wayland, create a new "virtual keyboard device" [^1]
2. When the user presses on an emoji, the "virtual keyboard device" issues a sequence of key presses which enters the desired emoji [^2]
3. The application exists

For this to work, I used the following assumptions:
[^1]: There exists such a thing as "virtual keyboard devices". IMO sounds reasonable though, right?
[^2]: For all emojis, there exists a sequence of key presses which enters this emoji.

For [^2] I suppose pressing ctrl+shift+u+XYZ (where XYZ is the unicode-codepoint(?) of the emoji) should work at least in Firefox for me. I doubt it all applications will work with that tough...🤔
Comment 10 BOF 2024-10-27 20:36:56 UTC
I had the same idea for a long-ish time now and I would be happy if this would be included.
Comment 11 Dave Vasilevsky 2024-12-26 18:57:21 UTC
*** Bug 497770 has been marked as a duplicate of this bug. ***
Comment 12 Filip 2025-01-13 18:03:03 UTC
*** Bug 498601 has been marked as a duplicate of this bug. ***
Comment 13 Hyperion.JF 2025-03-14 12:09:46 UTC
It would save so much time if this was finally implemented. Until then we have to look for alternatives such as Espanso.