telegramdesktop / tdesktop

Telegram Desktop messaging app
https://desktop.telegram.org/
Other
26.23k stars 5.2k forks source link

Inserting text after emoji wrong placement #27514

Closed naitgacem closed 1 month ago

naitgacem commented 8 months ago

Steps to reproduce

  1. Start typing some word
  2. Insert an emoji
  3. Press the left keyboard arrow(to add text before the emoji)
  4. start typing
  5. See only one letter is rendered before the emoji, the rest is after the emoji

Expected behaviour

The entire of the text typed after pressing left should come before the emoji

Actual behaviour

only one letter is rendered before the emoji, the rest is after the emoji

Operating system

Windows 10

Version of Telegram Desktop

4.15

Installation source

Static binary from official website

Crash ID

No response

Logs

No response

naitgacem commented 8 months ago

image

This is a screenshot for clarification.

john-preston commented 8 months ago

I cannot reproduce. I type "test ", then insert the emoji from the panel, then press left arrow, then type "test" from the keyboard and I get this:

image

Maybe something is missing in the steps?

naitgacem commented 8 months ago

Oh I see. This only happens if I insert the emoji from Win + . keyboard shortcut. Inserting the emoji from telegram panel does indeed produce the expected behavior.

github-actions[bot] commented 2 months ago

Hey there!

This issue was inactive for a long time and will be automatically closed in 30 days if there isn't any further activity. We therefore assume that the user has lost interest or resolved the problem on their own.

Don't worry though; if this is an error, let us know with a comment and we'll be happy to reopen the issue.

Thanks!