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

Bindings are not properly removed

    XMLWordPrintable

Details

    Description

      If the following component is created and then removed dynamically a TypeError appears in the log.

      import QtQuick 2.0
      
      Row {
          id: root
          property var actions: []
          height: 140
          Repeater {
              model: actions
              Item {
                  height: root.height
                  width: root.width / Math.min(4, actions.length)
              }
          }
      }
      

      Error:

      TypeError: Cannot read property 'width' of null
      

      Attachments

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

        Activity

          People

            416365416c Alan Alpert
            trollixx Oleg Shparber
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes