Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-89630

Missing characters in QML TextInput when using Markdown rendering

    XMLWordPrintable

Details

    • Bug
    • Resolution: Incomplete
    • Not Evaluated
    • None
    • 5.15.2
    • GUI: Text handling
    • None
    • Linux, openSUSE tumbleweed, Plasma Desktop
    • Linux/X11

    Description

      Hi,

      I'm building a chat application (https://invent.kde.org/network/neochat) and the text editing part is using a QML TextArea with `textFormat: TextEdit.MarkdownText`. Composing text works fine but when accessing the text property to send the message some characters are missing.

      For example, the text displayed is:

      ```
      Let's try to write a long message re ijio https://invent.kde.org/network/neochat/-/commit/9c75deee8c0fa3c8c33f470b3daa8a4c8663d68 lorem
      ```

      but the text when accessing the text property is:

      ```
      Let's try to write a long message re ijio
      https://invent.kde.org/network/neochat/-/commit/9c75deee8c0fa3c8c33f470b3daa
      a4c8663d68 lorem
      ```

      The markdown editor is hard wrapping the text and more important break works and remove character in the middle of a long text (see 8 who disappeared between 3daa and a4c8).

      This is, unfortunately, a deal-breaker for me and I will need to fall back to plain text editing for my application until this is fixed

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            srutledg Shawn Rutledge
            carl Carl Schwan
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes