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

SwipeView: dynamically added children with index > 1 positioned at index 0

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P2: Important
    • None
    • 6.3.1, 6.5.0 Beta1
    • Quick: Controls 2
    • None
    • Linux/X11

    Description

      The first item is correctly positioned in the middle of the viewport. The second item is positioned to the right of the first and isn't visible, as it should be. All subsequent items are positioned exactly under the first item, which is wrong. Swiping up to index n repositions items up to n + 1 to their correct position.

      Probably somewhat related to QTBUG-79895 regarding the behavior difference between adjacent and non-adjacent items.

      Attachments

        1. QTBUG-105587.webm
          150 kB
        2. screenshot-1.png
          screenshot-1.png
          14 kB
        3. swipeview-childpos.qml
          1 kB

        Issue Links

          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
              ahartmetz Andreas Hartmetz
              Votes:
              2 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes