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

Flickable.StopAtBounds not working anymore with a wheel

XMLWordPrintable

    • e034a18df (dev), 9166817b8 (6.6)

      Setting "boundsBehavior: Flickable.StopAtBounds" doesn't currently work with mouse wheel. Code below works still with Qt 6.5.1 but not with qtdeclarative dev.

      import QtQuick
      import QtQuick.Window
      
      Window {
          width: 640
          height: 480
          visible: true
          title: qsTr("Flickable boundsBehavior test")
          Flickable {
              id: flickable
              anchors.fill: parent
              boundsBehavior: Flickable.StopAtBounds
              contentHeight: contentItem.height
              Column {
                  id: contentItem
                  width: parent.width
                  Repeater {
                      model: 20
                      Rectangle {
                          width: flickable.width
                          height: 60
                          color: (index % 2 == 0) ? "red" : "green"
                      }
                  }
              }
          }
      }
      

        For Gerrit Dashboard: QTBUG-114607
        # Subject Branch Project Status CR V

            santhoshkumar Santhosh Kumar Selvaraj
            kagro Kaj Grönholm
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes