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

Loader within view delegate is not destroyed, leading to errors

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P4: Low
    • 6.x
    • 5.8.0
    • MacOsX 10.11.6, Android 4.4.2, iOS 10.1.1
    • iOS/tvOS/watchOS

    Description

      When the delegate of a PathView is a combination of Component delegate + Loader(Component), during the destruction of the Component delegate the Component loaded by the Loader is not destroyed, leaving reference errors for the bindings of the Loader.

      A workaround for the problem is to assign false to the active property of the Loader during the Component delegate destruction.

      A simple example is attached.

      Attachments

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

        Activity

          People

            qtqmlteam Qt Qml Team User
            therec Alex Reche
            Votes:
            3 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes