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

Binding loop warning with nested Layout

    XMLWordPrintable

Details

    • Windows

    Description

      In case of nested layouts, if some of children has Layout.preferredWidth and Layout.preferredHeight set, and not set for others, It is giving following warning:

      <Unknown File>: QML QQuickLayoutAttached: Binding loop detected for property "preferredWidth"
      <Unknown File>: QML QQuickLayoutAttached: Binding loop detected for property "preferredHeight"
      

      If all or none of the children has Layout.preferredWidth and Layout.preferredHeight set, it does not give any warning.

      Attachments

        1. qtbug79662.zip
          2 kB
        2. simplified.qml
          1 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            smd Jan Arve
            shmittal Shveta Mittal (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes