cassidyjames / ideogram

Insert emoji anywhere in elementary OS, even in non-native apps
https://cassidyjames.com
GNU General Public License v3.0
92 stars 19 forks source link

Auto pasting of Emoji does not work the majority of the time #48

Open marbetschar opened 4 years ago

marbetschar commented 4 years ago

This happens a lot for me across a variety of apps. For example in Slack or Signal:

I place the cursor in the text element to "Send a message" via Slack or Signal, then start Ideogram by using it's Keyboard shortcut, then click on an Emoji to insert it at the previously placed cursor position. And then .... nothing happens.

Sure I'm able to insert it manually using Ctrl + V, but it would be more intuitive if its simply inserted by Ideogram automatically.

FWIW: Running Ideogram v1.3.2

marbetschar commented 4 years ago

@cassidyjames just seen your comment which is probably related to this:

Unfortunately there's no way to detect if the user has a non-native text input focused, so Ideogram can't know whether or not the paste was successful.

I assume Slack and Signal are Electron Apps (or similar) and do not provide native text inputs - which leads to the described, "wrong" behaviour?

If so, any chance this can be somehow mitigated for this kind of (Electron) Apps? After all, they are quite common - unfortunately.

cassidyjames commented 4 years ago

@marbetschar I can't reproduce this here; auto pasting works in Electron apps like Slack.

marbetschar commented 4 years ago

@cassidyjames on my end it works - sometimes. Most of the time it doesn't. Most times I noticed it, it did not work while composing a message in Signal. Any idea how I can provide more information to track this down? FWIW I changed the keyboard shortcut to Super + .

pavangayakwad commented 4 years ago

same problem with me too.. what I expect is that when I select an emoji using arrow keys and hit enter, the Ideogram window should close and emoji should be pasted automatically to the input box.

codingsilverwolf commented 4 years ago

I have this problem with the native email client! If I press the keyboard shortcut and select an emoji, nothing happens. The odd thing is that when I go to gmail to see what I have written, the emojis are there! So the problem is from ideogram or from the email client?? Confused 🤔️

VladimirMikulic commented 4 years ago

@cassidyjames I have the same problem. Majority of the time the app doesn't work. On the bright side, this might help you troubleshoot why it doesn't work:

ideogram-bug

It seems that emoji is not copied to the clipboard so it pastes empty text -> nothing. That's why there is no emoji displayed. The issue is likely related to your code that does clipboard work.

cassidyjames commented 4 years ago

To confirm, are you all on elementary OS 5.x? If you could share some hardware details (processor, ram) that might also help narrow things down. I still can't reproduce this across several machines running the latest elementary OS 5.1 Hera.

VladimirMikulic commented 4 years ago

Hi @cassidyjames. I am not on Elementary OS 5, rather on Ubuntu with KDE. Since you can't reproduce the issue on machines running Elementary OS, then it means that for other Linux OSes this app doesn't work.

Here are my machine details: Operating System: Kubuntu 20.04 KDE Plasma Version: 5.18.5 KDE Frameworks Version: 5.68.0 Qt Version: 5.12.8 Kernel Version: 5.4.0-42-generic OS Type: 64-bit Processors: 12 × Intel® Core™ i7-8750H CPU @ 2.20GHz Memory: 7.7 GiB of RAM

pavangayakwad commented 4 years ago

..and equally bigger problem is its UX

cassidyjames commented 4 years ago

@VladimirMikulic ah, as clearly stated in the README:

Ideogram is designed and developed on and for elementary OS… Versions of Ideogram may have been built and made available elsewhere by third-parties. These builds may have modifications or changes and are not provided nor supported by me. The only supported version is distributed via AppCenter on elementary OS.

I work on Ideogram alone on the side of a full-time day job and being a full time parent. I don't have the resources or desire to try and support other OSes and desktop environments.

cassidyjames commented 4 years ago

@pavangayakwad

what I expect is that when I select an emoji using arrow keys and hit enter, the Ideogram window should close and emoji should be pasted automatically to the input box.

That's exactly how it is designed and works on elementary OS 5.1 Hera. What OS/desktop environment are you on?

VladimirMikulic commented 4 years ago

@cassidyjames I apologise if my comment offended you. I wasn't forcing you to fix it just acknowledging that I have the same problem :|

cassidyjames commented 4 years ago

@VladimirMikulic no worries, just trying to keep the issue tracker here focused on elementary OS.

marbetschar commented 4 years ago

@cassidyjames I'm running latest elementary Hera 5.1.7 on a Dell XPS 7390 with Intel Core i7-10710U and 16 GB RAM.

FWIW: I figured the issue often occurs in the Signal Desktop App, installed from Flathub: https://flathub.org/apps/details/org.signal.Signal

pavangayakwad commented 4 years ago

@cassidyjames Tried it on Hera 5.1.7, issue happens sometimes on signal, apart from that, it is working fine (as expected). đź‘Ť