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

Cannot use Loader object within ScrollView

    XMLWordPrintable

Details

    Description

      Quick example:

      ScrollView {
        Loader {
          anchors.centerIn: parent
          sourceComponent: sourcecomp
        }
      
        Component {
          id: sourcecomp
          Image {
            width: 50
            height: 50
          }
        }
      }
      

      When trying to use a Loader within a ScrollView, this error appears and immediately crashes the program:

      qml/QtQuick/Controls/ScrollView.qml:202: TypeError: Cannot assign to read-only property "progress"

      Attachments

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

        Activity

          People

            shausman Simon Hausmann
            atemple03 Adam Temple
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes