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

TextEdit: rendering issue when highlighting text

    XMLWordPrintable

Details

    • Linux/X11
    • 5ce225d6d (dev), a4f1bce08 (6.6), 822002d7c (6.5)

    Description

      I observed an issue with TextEdit when storing a large amount of
      text inside the text field and highlighting parts of it. The
      displayed text is not rendered correctly in Linux (see attached image), while it seems
      to work fine in Windows (although I'm not entirely sure).
      Wrapping the TextEdit inside a ScrollView and
      scrolling after the incorrect rendering fixes the issue again. On my
      machine, the issue is triggered precisely on the 15190th
      character, suggesting an overflow or similar problem.

      When removing one character from the text this issues disappears.

      Please find a minimal example attached.

      Attachments

        1. Main.qml
          10 kB
        2. renderissue.png
          renderissue.png
          131 kB
        For Gerrit Dashboard: QTBUG-113009
        # Subject Branch Project Status CR V

        Activity

          People

            piwierci Piotr WierciƄski
            dennisoberst Dennis Oberst
            Qt Quick and Widgets Team Qt Quick and Widgets Team
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews