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

QTextEdit takes longer and longer to draw text

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Done
    • Affects Version/s: 5.8.0
    • Fix Version/s: 5.9.0
    • Component/s: GUI: Text handling
    • Labels:
    • Environment:
      windows 10, vs2015

      Description

      I am using a QTextEdit, and I update the text with a call to sethtml(Qstring);

      the text is a simple tables that changes every second. Initially the setHtml method is fast (0 ms); but after time (depending on rate) it takes longer for setHTML to return.

      I am calling sethtml at 1Hz rate. After 12 hours it takes over 350 ms to call sethtml

      This increase continues the longer the program runs.

       

      I created a simple test program that show this my test project; at 100 hz the problem  shows in about 5-10 minutes. at 10 hz it takes a 30-60 minutes, and at 1 hz 10 hours or so.

      I want my application to run for days, I this is causing a major issue.

      I did not have this issue while running Qt 4.8.7

        Attachments

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

          Activity

            People

            • Assignee:
              sorvig Morten Sørvig
              Reporter:
              jmussemann Jeremy Mussemann
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Gerrit Reviews

                There are no open Gerrit changes