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

QTextEdit missing repaint after clear signal

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P1: Critical 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

      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

        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
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes