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

Odd jumping behaviour when SmoothedAnimation reaches the "to" value

    XMLWordPrintable

Details

    Description

      The attached smoothedanim.qml creates a XmlListModel that loads the attached feed.xml.

      When the view is loaded (estimated here using contentHeight > 0), the ListView enters the "scrolling" state. When the animation reaches the end of the ListView, it does a slight jump. From the output of the onContentY and onContentHeight handlers, you can see that when the animation reaches the end of the list view, there is a short period of time where the contentY constantly changes, and the contentHeight() signal is emitted even though it has not changed at all.

      This bug does not occur if the view delegate has a fixed height.

      It also does not occur if the first two items are removed from feed.xml. However in this case, the animation doesn't quite move to the end of the list view.

      Attachments

        1. smoothedanim.qml
          1 kB
        2. feed.xml
          32 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            martjone Martin Jones (closed Nokia identity) (Inactive)
            bealam Bea Lam (closed Nokia identity) (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes