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

Bad defaults for QScroller on Windows

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Unresolved
    • P5: Not important
    • None
    • 5.7.0
    • None
    • Windows 8.1

    Description

      Comparing with scrolling on the other platforms (like iOS and Android), current defaults for QScroller overshoots extremely and scrolls with too much velocity. Properties provided below (taken from http://www.qtcentre.org/threads/57352-QScroller-speed-and-touch-screen) resembles other platforms. I think these properties deserves to be defaults compared to the current defaults.

      prop.setScrollMetric(QScrollerProperties::AxisLockThreshold, 0.66);
      prop.setScrollMetric(QScrollerProperties::ScrollingCurve, QEasingCurve(QEasingCurve::OutExpo));
      prop.setScrollMetric(QScrollerProperties::DecelerationFactor, 0.05);
      prop.setScrollMetric(QScrollerProperties::MaximumVelocity, 0.635);
      prop.setScrollMetric(QScrollerProperties::OvershootDragResistanceFactor, 0.33);
      prop.setScrollMetric(QScrollerProperties::OvershootScrollDistanceFactor, 0.33);
      prop.setScrollMetric(QScrollerProperties::SnapPositionRatio, 0.93);
      prop.setScrollMetric(QScrollerProperties::DragStartDistance, 0.001);
      

      Attachments

        Issue Links

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

          Activity

            People

              qt.team.quick.subscriptions Qt Quick and Widgets Team
              bdemirkir Berk Demirkir
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes