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

StackView: destroyOnPop functionality needs to be restored

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Done
    • Affects Version/s: 5.7.0
    • Fix Version/s: 5.8.0 Alpha
    • Component/s: Quick: Controls 2
    • Labels:
      None
    • Commits:
      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

            • Assignee:
              mitch_curtis Mitch Curtis
              Reporter:
              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