Indeed, the binding loop is due to the sensing area that was requested
by design to be introduced, which alters the internal __mouseArea size.
Which has an impact on the childrenRect size, which in turn alters the
implicit size, which in turn loops back to adjust the internal MouseArea
again and again...

We must find an other way to keep that heritage (internal MouseArea) in
sync with the size, however not sure this can be solved properly without
removing the MouseArea, which in turn will break the ListItems module
and the ComboBox as well.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to ubuntu-ui-toolkit in
Ubuntu.
https://bugs.launchpad.net/bugs/1553090

Title:
  Binding loops in implicitWidth with OTA 10 landing

Status in ubuntu-ui-toolkit package in Ubuntu:
  Confirmed

Bug description:
  The simple code

  import QtQuick 2.4
  import Ubuntu.Components 1.3

  AbstractButton {
      implicitWidth: childrenRect.width
      implicitHeight: childrenRect.height
      Label {
          id: titleLabel
          text: "HOLA CARACOLA"
      }
  }

  is giving

  file:///home/tsdgeos_work/test/1.qml:4:1: QML AbstractButton: Binding loop 
detected for property "implicitWidth"
  file:///home/tsdgeos_work/test/1.qml:4:1: QML AbstractButton: Binding loop 
detected for property "implicitWidth"
  file:///home/tsdgeos_work/test/1.qml:4:1: QML AbstractButton: Binding loop 
detected for property "implicitHeight"
  file:///home/tsdgeos_work/test/1.qml:4:1: QML AbstractButton: Binding loop 
detected for property "implicitWidth"
  file:///home/tsdgeos_work/test/1.qml:4:1: QML AbstractButton: Binding loop 
detected for property "implicitHeight"
  file:///home/tsdgeos_work/test/1.qml:4:1: QML AbstractButton: Binding loop 
detected for property "implicitWidth"
  file:///home/tsdgeos_work/test/1.qml:4:1: QML AbstractButton: Binding loop 
detected for property "implicitHeight"
  file:///home/tsdgeos_work/test/1.qml:4:1: QML AbstractButton: Binding loop 
detected for property "implicitWidth"
  file:///home/tsdgeos_work/test/1.qml:4:1: QML AbstractButton: Binding loop 
detected for property "implicitWidth"
  file:///home/tsdgeos_work/test/1.qml:4:1: QML AbstractButton: Binding loop 
detected for property "implicitHeight"
  file:///home/tsdgeos_work/test/1.qml:4:1: QML AbstractButton: Binding loop 
detected for property "implicitWidth"
  file:///home/tsdgeos_work/test/1.qml:4:1: QML AbstractButton: Binding loop 
detected for property "implicitHeight"

  with the OTA 10 landing as of today.

  This works fine without that landing and i think it's valid code that
  should not be giving out warnings like this.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-ui-toolkit/+bug/1553090/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to