Signal-Desktop icon indicating copy to clipboard operation
Signal-Desktop copied to clipboard

Valid emoji are not replaced reliably (text to image)

Open Nindaleth opened this issue 4 years ago • 4 comments

  • [X] I have searched open and closed issues for duplicates

Bug Description

Typing a simple valid emoji text such as :smile: sometimes doesn't replace it with the proper emoji image (e.g. ":smile:").

Steps to Reproduce

  1. open the conversation
  2. type the emoji text
  3. unfortunately, there's nothing special to do, perhaps I type using all 10 fingers and it's too fast for Signal

Actual Result:

  • some occurences stay a text and don't turn into an emoji

Expected Result:

  • every :smile: text entered is immediatelly translated into a ":smile:" emoji

Screenshots

Here's an example - I have typed :smile: :smile: :smile: :smile: :smile: :smile: :smile: in one go smile

Platform Info

Signal Version:

  • v5.0.0

Operating System:

  • Fedora 33 x86_64
  • Windows 10 Pro 1909

Linked Device Version:

  • 5.8.10

Link to Debug Log

Debug log from Fedora. Appears there's nothing relevant within the affected time period:

https://debuglogs.org/afa5018e70cfcb84e9572cbdb6ba1f06ac3f9497d923ec2a9c45fab9fd7a4454

Nindaleth avatar May 04 '21 12:05 Nindaleth

One way to reproduce this is to copy-paste :smile: (with the space). The substitution shouldn't stop if another character is appended.

How fast is your machine? The substitution is happening so fast on mine that I don't think I could type a new character in-between.

hiqua avatar May 04 '21 15:05 hiqua

I can reproduce the issue on a Thinkpad T490 (Core i7-8565U) laptop and a self-built desktop (Ryzen 1700X). But I don't type that fast, promise!

When I try it on purpose, I can cause the issue in nearly 100% of the cases, but in normal daily usage it's absolutely not like that; I'm somewhere around 10%, some days maybe 20% of strings not turning into emoji.

Nindaleth avatar May 04 '21 17:05 Nindaleth

I was about to suggest to use Tab more as a workaround, but using Tab too early results in a loss of focus, breaking the typing flow:

https://user-images.githubusercontent.com/3812042/117121746-52740680-ad95-11eb-96ab-458196ab969e.mp4

hiqua avatar May 05 '21 09:05 hiqua

This does not seem easy to reproduce on my system (Windows 11); I haven't seen it once. Does this still happen with Signal 7.43 (or ulterior)?

I'd expect :cry: would reproduce faster.

Chealer avatar Feb 25 '25 17:02 Chealer