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

Text item with empty text -property causes continuous flow of paint events

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.0.0
    • 5.0.0
    • None
    • Latest Qt5 and Qt declarative qtquick2 -branch
    • cdb4ae34924c8edb607aec0db2fd8b364865e092

    Description

      The following code causes endless flow of paintEvents:

      import QtQuick 2.0
      
      Rectangle {
          Text {
          }
      }
      

      Setting visible: false or an empty string text: "" for Text does not help, but setting a non-empty string to text corrects the situation. e.g text: " "

      Attachments

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

        Activity

          People

            ylopes Yoann Lopes
            tmikola Tapani Mikola
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes