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

SwipeView crashes

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: P1: Critical
    • Resolution: Unresolved
    • Affects Version/s: 5.9.2, 5.9.3, 5.9.4, 5.10, 5.11.1
    • Fix Version/s: None
    • Component/s: Quick: Controls 2
    • Labels:
      None
    • Environment:

      Description

      When using swipeview in combination with a repeater of which the model changes: the application crashes. Small example: when nbOfPages changes: it crashes. See also attached demo.

      SwipeViewproperty int nbOfPages: 4 

           Repeater { model: swipeView.nbOfPages

                Loader { sourceComponent: Page1Form { }  } 

          }

      }

      The problem does not occur when using the repeater in e.g. a Column or a StackLayout.
                                                                                        

        Attachments

          Issue Links

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

            Activity

              People

              • Assignee:
                shausman Simon Hausmann
                Reporter:
                slr Sven Leyre
              • Votes:
                2 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:

                  Gerrit Reviews

                  There are no open Gerrit changes