GaZaTu / x11-emoji-picker

Linux XServer emoji picker
MIT License
203 stars 7 forks source link

Unable to insert emojis into some applications that are running under electron #40

Open Zaph-x opened 1 year ago

Zaph-x commented 1 year ago

With version 0.11.0 it is not possible to insert emojis into some applications that are running under electron. I have tested this in Discord, Slack, and Caprine, all running under electron, and no emojis are inserted. Trying to insert emojis into VSCode, which also is running under electron, works fine. I am not getting any errors, and when running emoji-picker from CLI, it simply inserts every emoji into the terminal. When I am starting emoji-picker my i3 configured hotkey, emojis are placed into their correct windows, however not if this window is one of the afforementioned applications.

Let me know if I need to elaborate any further on this issue.

GaZaTu commented 1 year ago

Atleast Discord works in my case (with both activate window... input methods): Screenshot_20230119_195801

But i agree that any browser (not just chromium stuff like electron) provides a subpar experience at best and i doubt i can help you in this case. I wish there was like a standard way to insert text into other applications under linux but its a piece of ****. 🥲

Zaph-x commented 1 year ago

That seems to do it! I was not aware that was a thing. Would it make sense to enable activate window by default, or does that break something else, that I am unaware of?

GaZaTu commented 1 year ago

It shouldn't break anything but its a less pleasant experience. I personally did not change the defaults and simply try changing the input method with f5 everytime i encounter an issue like this.