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

ListView/GridView remove transition does not position delegates correctly with 0 animation duration

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 6.7.2
    • None

    Description

      If you use a duration of 0 for position animations in ListView/GridView remove transitions, the delegates will be out of place and overlap with each other. It seems like the bug may affect other transitions too, but I'm only able to see it with the remove transition using itemviewmodelandtransitiontest.qml. It also seems like any instant remove transition can cause the bug, even this:

      remove: Transition {}

      Most of the time you probably won't want a duration of 0, but KDE Plasma allows users to set global animation duration to 0 as an accessibility feature. The issue was first reported by a user here: https://bugs.kde.org/show_bug.cgi?id=483962

      If you run itemviewmodelandtransitiontest.qml and filter the model using the text field, you should be able to see the bug yourself.

      I have also attached a more minimal test file, minimal_itemviewmodelandtransitiontest.qml

      Attachments

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

        Activity

          People

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            ndavis Noah Davis
            Votes:
            2 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes