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

[patch] SplitView causes script errors after being unloaded with Loader

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.2.0 Alpha
    • 5.2.0
    • Quick: Controls 1
    • None
    • Qt5 dev, kubuntu x64

    Description

      After a SplitView is unloaded from a Loader, some signal handlers can still be called, causing script errors accessing the unloaded objects:

      qtbase/qml/QtQuick/Controls/SplitView.qml:317: TypeError: Cannot read property 'length' of undefined

      in updateLayout, called from:

      item.Layout.maximumWidthChanged.connect(d.updateLayout)

      Attachments

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

        Activity

          People

            corngood David McFarland
            corngood David McFarland
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes