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

Tabs are not destroyed on closing popup Window

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 5.9.3, 5.10.0, 5.11.0 Beta 1
    • Quick: Controls 1
    • None

    Description

      If there is a popup Window which we close the Tabs and its Items won't be destroyed until
      the main Window is closed as well.
      In the attached example we can still use the Item after closing the Window but it doesn't have a valid QmlContext.
      When the Window is closed all of its children's QmlContext is invalidated, which means that its parent
      and QmlEngine is set to 0.
      This patch seems to fix the problem: https://codereview.qt-project.org/#/c/65800/
      It was reverted by: https://codereview.qt-project.org/#/c/74742/

      Attachments

        Issue Links

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

          Activity

            People

              qt.team.quick.subscriptions Qt Quick and Widgets Team
              fokinv Valentin Fokin
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes