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

Tumbler's animation accelerates slowly with large scrolling distances

    XMLWordPrintable

Details

    • 8e4b91030fa73a84dd4704d2d0073e63e4646fed

    Description

      Tumbler's animation has an easing curve which causes an accelerating motion. This acceleration is relative to the distance to be scrolled, the distance between the old current index and the new target index that is. This can become problematic with large amount of items (large distances) as the acceleration becomes painfully slow. This can affect at least use cases where the Tumbler is used as a display and not as an input control, use cases where the property current index is set programmatically.

      Steps to reproduce:

      • Run the sample attached.
      • Press "Scroll to end".
      • Wait until the Tumbler value reaches 10 and press "Scroll to start".
      • Observe the difference between the scrolling animations. distance of 1000 vs distance of ~10
        EXPECTED: There isn't too much of a difference and both animation are user-friendly.
        ACTUAL: The first animation ("Scroll to end") has a really slow acceleration phase.

      Attachments

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

        Activity

          People

            mitch_curtis Mitch Curtis
            risto.sipola Risto Sipola
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes