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

QPlainTextEdit 700ms delay first time displaying unprintable character

    XMLWordPrintable

Details

    • Bug
    • Resolution: Incomplete
    • P3: Somewhat important
    • None
    • 5.15.0, 6.5.1
    • GUI: Text handling
    • None
    • Linux/X11, Windows

    Description

      A very strange issue appears to be with the QPlainTextEdit object, the first time it displays data with binary characters in takes 700ms to display the text - this isn't some crazy huge amount of data, it's 20 bytes. After that, it then runs fine, it can receive more of the same data and updates instantly without a 700ms delay.

      Test data:

       

              27          0x001b    QChar
      '['     91          0x005b    QChar
      '1'     49          0x0031    QChar
      ';'     59          0x003b    QChar
      '3'     51          0x0033    QChar
      '2'     50          0x0032    QChar
      'm'     109          0x006d    QChar
      'u'     117          0x0075    QChar
      'a'     97          0x0061    QChar
      'r'     114          0x0072    QChar
      't'     116          0x0074    QChar
      ':'     58          0x003a    QChar
      '~'     126          0x007e    QChar
      '$'     36          0x0024    QChar
      ' '     32          0x0020    QChar
              27          0x001b    QChar
      '['     91          0x005b    QChar
      'm'     109          0x006d    QChar 

       

       

      Attachments

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

        Activity

          People

            esabraha Eskil Abrahamsen Blomfeldt
            thedjnk Mr nK
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes