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

MouseWheel can push Flickable beyond the overshoot bound

    XMLWordPrintable

Details

    • 8f339861d48a6d624516780442e191b55209a053

    Description

      Using the Mouse Wheel, at high velocities I manage to push the Flickable list beyond the overshoot boundary.

      Steps to reproduce :
      1. Run the code below in qmlviewer.exe
      2. Try to flick down the list using the mouse wheel, then flick up quickly.
      3. Observe that you can move the list up so as to push everything off screen, far more than the hardcoded overshoot limit (see attached video).

      import QtQuick 2.0
      Rectangle {
      	width: 200
      	height: 200
      
      	Flickable {
      		anchors.fill: parent
      		contentHeight: contentItem.childrenRect.height
      
      		Column {
      			Repeater {
      				model:  200
      				Text {text: "item" + index}
      			}
      		}
      	}
      }

      Attachments

        1. 2013-08-27_1407.swf
          866 kB
        2. flickable.ogv
          351 kB
        For Gerrit Dashboard: QTBUG-21328
        # Subject Branch Project Status CR V

        Activity

          People

            srutledg Shawn Rutledge
            gerboland Gerry Boland
            Votes:
            1 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes