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

[Reg 5.15 -> 6.4.2] Loader with StackLayout and Repeater displays an incorrect index

    XMLWordPrintable

Details

    Description

      When using `asynchronous: true` with a Loader that contains a StackLayout with a Repeater, the StackLayout assigns wrong indexes. This results in the wrong item being visible in the stack.

      To reproduce the issue, please run the attached example project. 

      1. Click on Load button. 0-0-0-1 is visible, this should be 0-0-0-0. The Repeater index should match the StackLayout index.
      2. Use the ComboBox to select 3. Two items are now visible at the same time! The Repeater index 3 item's attached property StackLayout.index is still 0.

      Attachments

        1. qtbug_111902.zip
          2 kB
          Tuomas Vaarala

        Activity

          People

            santhoshkumar Santhosh Kumar Selvaraj
            tuomas.vaarala Tuomas Vaarala
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: