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

[REG: 6.7.2 → 6.8.2] Change in binding resolution behavior

    XMLWordPrintable

Details

    • a5cb71925 (dev), a2f544302 (6.9), 40aa430e8 (6.8)

    Description

      With 6.8.2, the following example generates a warning about a binding loop, and item1 is not assigned:

      import QtQuick
      import QtQuick.Controls
      
      ApplicationWindow {
          header: Item {
              property Item item1: item1
          }
      
          Item { id: item1 }
      } 

      If the QML compiler is disabled, the issue does not occur. Removing `header:` (so the first Item is not assigned to any property) also avoids the issue. The issue did not occur with Qt 6.6.1.

      Attachments

        Issue Links

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

          Activity

            People

              ulherman Ulf Hermann
              mbrasser Michael Brasser
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes