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

ScrollView bounce broken on Mac OS X (regression)

    XMLWordPrintable

    Details

    • Platform/s:
      macOS
    • Commits:
      9b8d0bffdafeb4dd9b256113716c07f2c49f3903

      Description

      ScrollView bounce is broken when using Macbook's Touchpad or Apple Magic Mouse on Mac OS X. It either scrolls too far away and sticks in that position, or the scrolling wraps around and continues from the bottom. ScrollView is almost unusable, please see the attached video.

      Caused by this commit:
      cd qtdeclaractive/
      git revert a6ed830f4779e218b8e8f8d82dc4aa9b4b4528a1

      Possibly related issue:
      https://bugreports.qt.io/browse/QTBUG-44493

      Attached is a test project. main.qml:

      import QtQuick 2.3
      import QtQuick.Controls 1.2
      import QtQuick.Window 2.0
      import QtQuick.Dialogs 1.2
      
      ApplicationWindow {
      	title: qsTr("Hello World")
      	width: 640
      	height: 480
      	visible: true
      
      	ScrollView {
      		anchors.fill: parent
      		flickableItem.interactive: true
      		Flickable {
      			interactive: true
      			contentHeight: row.height
      			contentWidth: row.width
      			Row {
      				id: row
      				Repeater {
      					model: 100
      					Column {
      						Repeater {
      							model: 100
      							Text {
      								text: index
      							}
      						}
      					}
      				}
      			}
      		}
      	}
      }
      

        Attachments

        1. ScrollViewBug.zip
          2 kB
        2. scrolling.mp4
          2.55 MB

          Issue Links

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

            Activity

              People

              • Assignee:
                srutledg Shawn Rutledge
                Reporter:
                zmeyc Andrey Fidrya
              • Votes:
                3 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes