Uploaded image for project: 'Qt Design Studio'
  1. Qt Design Studio
  2. QDS-5235

Changing freshly added repeater doesn't show up in form editor or state preview if delegate is an actual component

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P2: Important P2: Important
    • QDS 2.3 Beta
    • QDS 2.3
    • 2D View
    • None
    • 2
    • 41f96fe05b176544606b0a4097a050cffdd70548 (qt-creator/qt-creator/6.0)
    • QDS 3D - 2021 Week 39/40, QDS 3D - 2021 Week 41/42, QDS 3D - 2021 Week 43/44

      Changing freshly added repeater doesn't show up in form editor or state preview if delegate is an actual component. Changing model property value doesn't do anything, except in preview scene, where it works correctly. Fresh repeater works fine with implicit component delegates. If you close design mode and reopen it, then repeater works fine on editors also with actual component delegates.

      To repro:

      • Create new project
      • Add Row item
      • Add Repeater under the row
      • Add Component item under root
      • Add Rectangle under Component
      • Set component as delegate of Repeater in property editor
      • Set Repeater's model value to 5 

      Expected: Row of 5 rectangles would be visible on form editor and state preview

      Actual: Nothing is shown

      Leave edit mode and come back: Rectangles are now visible.

       

        For Gerrit Dashboard: QDS-5235
        # Subject Branch Project Status CR V

            e0348803 Miikka Heikkinen
            e0348803 Miikka Heikkinen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes