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

QTextEdit missing repaint after clear signal

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P1: Critical
    • Resolution: Done
    • Affects Version/s: 5.11.0
    • Fix Version/s: 5.11.2
    • Component/s: GUI: Text handling
    • Environment:
      OSX 10.13.5 with latest Qt 5.11.0-0-201805181204 downloaded with Maintenance tool

       
    • Platform/s:
      macOS

      Description

      I have QTextEdit that displays some basic html text output and one QPushButton with with clicked() connected to clear() of QTextEdit (done from Designer)

      Clicking QPushButton text edit gets cleared except QTextEdit widget doesn't get always repainted completely so I end up with previous contents still displayed and small rectangle around blinking cursor being cleared (see picture).

      Resizing window or reactivating application helps.

      I didn't notice this in previous Qt versions

      qtbug.zip

        Attachments

        1. designer.png
          designer.png
          92 kB
        2. qtbug.zip
          3 kB
        3. QTBUG-68740.zip
          2 kB
        4. QTextEdit.png
          QTextEdit.png
          6 kB

          Issue Links

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

            Activity

              People

              • Assignee:
                vestbo Tor Arne Vestbø
                Reporter:
                ivang Ivan Golubovic
              • Votes:
                0 Vote for this issue
                Watchers:
                9 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes