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

QTextEdit missing repaint after clear signal

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 5.11.2
    • 5.11.0
    • GUI: Text handling
    • OSX 10.13.5 with latest Qt 5.11.0-0-201805181204 downloaded with Maintenance tool

       
    • 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

              vestbo Tor Arne Vestbø
              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