telegramdesktop / tdesktop

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

Issue with Text Formatting in Quoted Texts #27527

Closed Hasan-Mir closed 7 months ago

Hasan-Mir commented 8 months ago

Steps to reproduce

  1. Transform a sentence into a quoted text.
  2. Select one or more word from the BEGINNING of the sentence.
  3. Apply a formatting style such as Bold, Italic, Underline, Spoiler or etc.

Expected behaviour

The formatting should be applied without splitting the quoted text into two separate quotes, similar to the behavior observed in Telegram Android:

https://github.com/telegramdesktop/tdesktop/assets/62181905/1a096a29-7fb7-4840-b924-249dad664310

Actual behaviour

It splits the quoted text into two separate quotes:

https://github.com/telegramdesktop/tdesktop/assets/62181905/7528c7df-6a0f-430e-b92b-3728a35c5da5

Operating system

Windows 10 Pro 22H2 19045.3930

Version of Telegram Desktop

4.15

Installation source

Static binary from official website

Crash ID

No response

Logs

No response

john-preston commented 8 months ago

Thanks for your report. This should be fixed in the next version.

Hasan-Mir commented 7 months ago

Fixed in 4.15.1