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

Suggestion: Preserve the original clipboard contents? #17

Open sprite-1 opened 5 years ago

sprite-1 commented 5 years ago

How easy would it be to implement something where, Ideogram preserves the original contents of the clipboard somewhere and then return it after the emoji has been pasted to the input?

Of course this not only means text but also if an image data or etc is on the clipboard.

cassidyjames commented 5 years ago

@sprite-1 that could be nice! One side-effect of this is that when the emoji doesn't paste for some reason (i.e. if an entry was not focused), it removes the easy way to paste it after the fact. That might be an okay trade-off, though!

sprite-1 commented 5 years ago

I for one am fine with not being able to paste the emoji back after it failed to insert the first time. My natural reaction would be to just re-open the emoji picker window again than to do Ctrl + V

m93a commented 4 years ago

When we have preferences #2, leaving the emoji in clipboard could be an opt-in feature.

rajkumaar23 commented 4 years ago

@cassidyjames Can I pick this up? If yes, would you like to have this the default way? Because as @sprite-1 said, it's more intuitive for the user to open the picker again, than Ctrl+V.

m93a commented 4 years ago

My 2ยข: Maybe it's more intuitive to leave the clipboard's contents unchanged, but if the pasting fails for whatever reason (this happens to me quite frequently) it's way more efficient to just do Ctrl+V, than to search for the emoji again โ€“ especially if you don't know what it's called. And if you combine Ideogram with Clipper, there's really no problem with having your clipboard replaced ๐Ÿ˜‰๏ธ

Anyway, if there are Preferences where this can be changed, I don't think it matters that much ๐Ÿ˜๏ธ

cassidyjames commented 3 years ago

@rajkumaar23 if you are interested in a PR to solve this, I would welcome it. :)