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

AnimatedImage does not notify on status change

    XMLWordPrintable

Details

    • 80d0fe9cbd92288a08d5ced8767f1edb651dae37

    Description

      The following example demonstrates the issue – it works properly only if AnimatedImage is changed to Image.

      import Qt 4.7
      
      Rectangle {
          width: 500
          height: 500
      
          AnimatedImage {
              anchors.centerIn: parent
              asynchronous: true
              source: "http://doc.qt.nokia.com/4.7/images/flickable.gif"
              opacity: status == AnimatedImage.Ready ? 1 : 0
              onStatusChanged: console.log(status)
      
              Behavior on opacity {
                  NumberAnimation { duration: 1000 }
              }
          }
      }
      

      Attachments

        Activity

          People

            bodson Yann Bodson (Inactive)
            anttip Antti Poikela
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: