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

Reg[6.5.3->6.6]ScrollView scrolling speed/sensitivity is reduced

    XMLWordPrintable

Details

    • Windows

    Description

      Scrolling sensitivity is drastically reduced with Qt6.6 and above. Same code scrolling speed works as it should with earlier version of Qt. i.e. 6.5.3

      Even using ListView.highlightMoveDuration or highlightMoveVelocity has no effect.

      Attached example reproduces it. Run the example and using mouse wheel scroll up/down

      import QtQuick 2.15
      import QtQuick.Controls 2.15
      
      ApplicationWindow {
          visible: true
          width: 640
          height: 480
          title: "Scrollbar Scroll Speed Example"
      
          ScrollView {
              width: parent.width
              height: parent.height
      
              ListView {
                  width: parent.width
                  model: 100 // Just for demonstration
                  highlightMoveDuration:8000
                  highlightMoveVelocity  :200
                  delegate: Item {
                      width: parent.width
                      height: 50
                      Text {
                          anchors.centerIn: parent
                          text: "Item " + index
                      }
                  }
              }
      
              ScrollBar.vertical: ScrollBar {
                  id: scrollbar
                  width: 12
                  height: parent.height
                  policy: ScrollBar.AlwaysOn
      
                  stepSize: 100 // Adjust this value to increase scroll speed
      
                  background: Rectangle {
                      color: "#dddddd"
                  }
      
                  Rectangle {
                      color: "#aaaaaa"
                      width: parent.width
                      height: Math.max((parent.height / parent.contentHeight) * parent.height, 20)
                  }
              }
          }
      }
      

      Attachments

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

        Activity

          People

            santhoshkumar Santhosh Kumar Selvaraj
            irfan.omair@digia.com Irfan Omair
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes