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

Crash when accessing a property that is bound to a property without specifiying its object id within a SplitView

    XMLWordPrintable

    Details

    • Commits:
      acf1298

      Description

      When running the following code, qmlscene crashes when accessing item.visible. This only happens when the affected item is inside a SplitView and when the "visible" property is bound to "itemVisible" directly. When I change the binding to

      visible: root.itemVisible
      

      it does not crash.

      import QtQuick 2.2
      import QtQuick.Controls 1.1
      
      SplitView {
          id: root
          property bool itemVisible
      
          Item {
              id: item
              visible: itemVisible
              onVisibleChanged: { var dummy = item.visible; }
          }
      }
      

        Attachments

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

          Activity

            People

            Assignee:
            bachewii Jens
            Reporter:
            che Carsten Hen├činger
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes