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

BorderImage does not update source property

    XMLWordPrintable

Details

    • b3bff5bb3c8ee0e1c45d20d04b1c3c0236aa9d38

    Description

      This issue was reported against Qt Quick Controls but there seems to be a more serious regression which prevents BorderImages from repainting when the source property changes.

      import QtQuick 2.1
      BorderImage {
          source: mouse.pressed ? "button.png" : "button_down.png"
          MouseArea {
              id: mouse
              anchors.fill: parent
          }
      }
      

      Note the issue was originally reported against controls but can be traced back to this.

      Attachments

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

        Activity

          People

            sletta Gunnar Sletta
            bwalter Benoit Walter
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes