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

QScroller fails sporadically when only one axis is scrollable

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Not Evaluated
    • None
    • 5.0.0
    • None
    • aa23a18ad2d74232818aa70054b4a179a7a78dbb

    Description

      When using QScroller for pan-scrolling, the scrolling will frequently freeze if only one axis is scrollable.

      The reason is that handleDrag only updates the lastPosition of scrollable axes, while using position-lastPosition to determine axislock. This means that if the total movement along a non-scrollable axis is larger than the time-delta-movement along a scrollable axis the event will be discarded.

      Attachments

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

        Activity

          People

            Unassigned Unassigned
            allan.jensen Allan Sandfeld Jensen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes