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

QTextEdit takes longer and longer to draw text



    • 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


      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


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



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


              • Created:

                Gerrit Reviews

                There are no open Gerrit changes