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

MacOS Monterey - scrolling issues with touch pad

XMLWordPrintable

    • macOS
    • 2e11918456 (qt/qtbase/dev) 2e11918456 (qt/tqtc-qtbase/dev) 58226a8b62 (qt/qtbase/6.2) a21439787c (qt/qtbase/6.3) 58226a8b62 (qt/tqtc-qtbase/6.2) a21439787c (qt/tqtc-qtbase/6.3) 08bdf345d1 (qt/tqtc-qtbase/5.15)

      After update to macOS Monterey scrolling with touch pad is broken.

      When swiping touch pad with 2 fingers, view is scrolled in correct direction. But at the moment you raise your fingers, scrolling position unexpectedly jumps back almost to the position where scroll was started.

      Reproduces with Qt 5.15.2 and with 6.2.1.

      import QtQuick
      import QtQuick.Controls
      import QtQuick.Window
      
      ApplicationWindow {
          width: 640
          height: 480
          visible: true
          title: qsTr("Monterey scrolling issue")
      
          ListView {
              id: listView
              anchors.fill: parent
              spacing: 3
              boundsBehavior: ListView.StopAtBounds
              model: 255
      
              delegate: Rectangle {
                  border.width: 1
                  border.color: "black"
      
                  readonly property real tint: ((256 - 10 * (1 + index)) % 256) / (256)
                  color: Qt.rgba(tint, tint, tint, 1)
                  width: listView.width
                  height: 50
      
                  Text {
                      anchors.centerIn: parent
                      text: index
                      color: (tint > 0.4) ? "black" : "white"
                  }
              }
          }
      }
      

        1. events.log
          40 kB
        2. listview+flickable.log
          26 kB
        3. monterey_scrolling.mov
          510 kB
        4. QTBUG-97841.mp4
          5.02 MB
        5. Screen Recording 2021-10-30 at 17.59.53.mov
          10.99 MB
        6. Screen Recording 2022-01-05 at 14.23.01.mov
          24.97 MB
        For Gerrit Dashboard: QTBUG-97841
        # Subject Branch Project Status CR V

            vestbo Tor Arne Vestbø
            sergei.nevdakh Sergei Nevdakh
            Votes:
            14 Vote for this issue
            Watchers:
            19 Start watching this issue

              Created:
              Updated:
              Resolved: