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

Tabs are not destroyed on closing popup Window

XMLWordPrintable

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

      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/

        1. declerativeBug.zip
          2 kB
          Valentin Fokin
        2. newExample.zip
          2 kB
          Valentin Fokin
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

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

              Created:
              Updated:

                There are no open Gerrit changes