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

[REG] StackView.initialitem is not equivalent to push() in Component.onCompleted

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • P2: Important
    • None
    • 5.6.0 RC, 5.7.0 Alpha
    • None

    Description

      This is a regression compared to Controls 1. In Controls 2, StackView.initialitem is not equivalent to Component.onCompleted: stackView.push(myInitialItem).

      from the documentation:

      InitialItem : var
      This property holds the initial item that should be shown when the StackView is created. The initial item can be an Item, Component, or a url. Specifying an initial item is equivalent to:

      Component.onCompleted: stackView.push(myInitialItem)
      

      Attachments

        For Gerrit Dashboard: QTBUG-52615
        # Subject Branch Project Status CR V

        Activity

          People

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            damianatorrpm Damian Ivanov
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes