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

Popup: binding loops with size-dependent positioning

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.7.2
    • 5.7.1
    • Quick: Controls 2
    • None
    • a7e39a28575dc3421970e007b78731b614da258a

    Description

      import QtQuick 2.5
      import QtQuick.Window 2.2
      import QtQuick.Controls 2.0
      
      Window {
          id: window
          width: 360
          height: 360
          visible: true
      
          Popup {
              visible: true
              x: (parent.width - width) / 2
              y: (parent.height - height) / 2
              closePolicy: Popup.NoAutoClose
      
              Label {
                  text: "Qt"
                  font.pixelSize: 72
                  anchors.fill: parent
              }
          }
      }
      
      qrc:/main.qml:11:5: QML Popup: Binding loop detected for property "y"
      qrc:/main.qml:11:5: QML Popup: Binding loop detected for property "x"
      qrc:/main.qml:11:5: QML Popup: Binding loop detected for property "y"
      qrc:/main.qml:11:5: QML Popup: Binding loop detected for property "y"
      qrc:/main.qml:11:5: QML Popup: Binding loop detected for property "x"
      qrc:/main.qml:11:5: QML Popup: Binding loop detected for property "y"
      

      Attachments

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

        Activity

          People

            Unassigned Unassigned
            jpnurmi J-P Nurmi
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes