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

Bad defaults for QScroller on Windows

    XMLWordPrintable

    Details

    • Type: Suggestion
    • Status: Reported
    • Priority: P5: Not important
    • Resolution: Unresolved
    • Affects Version/s: 5.7.0
    • Fix Version/s: None
    • Labels:
      None
    • Environment:

      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

              Assignee:
              qt.team.quick.subscriptions Qt Quick and Widgets Team
              Reporter:
              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