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

StackView: destroyOnPop functionality needs to be restored

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.8.0 Alpha
    • 5.7.0
    • Quick: Controls 2
    • None
    • 58326f2bc3bceafc0054e790832e0a77db340606

    Description

      In Qt Quick Controls 2, the arbitrary JS object argument of `StackView::push()` was replaced with arguments that are consistent with `Component::createObject()`. In the process, the `destroyOnPop` functionality went missing. Even though pushing and popping static items vs. Components and URLs works as intended out of the box, there is a problem when using `Qt.createQmlObject()`. See http://stackoverflow.com/questions/39063235/qtquick-controls-2-stackview-and-destroyonpop for more details.

      Attachments

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

        Activity

          People

            mitch_curtis Mitch Curtis
            jpnurmi J-P Nurmi
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes