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

Animate elements into a ListView from outside, despite clip: true for scrolling

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 5.2.1
    • None

    Description

      In a ListView I have:
      {{
      addDisplaced: Transition { NumberAnimation

      { properties: "x,y"; duration: 1000 }

      }
      add: Transition {
      NumberAnimation

      { properties: "x"; from: list.finalVrnOrigin.x; duration: 1000 }

      NumberAnimation

      { properties: "y"; from: list.finalVrnOrigin.y; duration: 1000 }

      }}

      It animates the delegate from outside the ListView into the top whilst displacing the list down. With crop set to false, displacing the list down animates the last delegate, if at the bottom of the ListView, down and out of the ListView and over anything beneath it until it finally gets cropped at the screen edge.

      With crop set to true, then the add transition becomes meaningless.

      I feel this may be/become a relatively common issue and suggest it needs some resolution?

      Attachments

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

        Activity

          People

            aalpert Alan Alpert
            martynw Martyn Woerner
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes