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

Declarative: Animations should not be played when an item is scrolled-in in a view.

    XMLWordPrintable

Details

    • 80c0441

    Description

      Given a a list view containing items with property values depending on states:

      Problem:
      The animations attached to these states PropertyChanges are played when the item appears at the top or bottom of the list while scrolling.

      Expected result:
      The animation should only be played when the bound property values change.
      Currently the only item that behaves correctly is the currentItem, other items in the list should also behave that way.

      See the attached qml example, the color property of items with needsAttention == true is animated each time you scroll these items in the visible part of the list.
      This illustrates the use case I have in my application where I want the items in the list to be animated when a change is made by the underlying QAbstractItemModel.

      This bug currently forces me to disable all animations in my ListView items since it makes the list annoying or unusable (depending of the animated property).

      Attachments

        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)
            jturcott Jocelyn Turcotte
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes