← Back to team overview

ubuntu-sdk-bugs team mailing list archive

[Bug 1553090] Re: Binding loops in implicitWidth with OTA 10 landing

 

** Also affects: ubuntu-ui-toolkit (Ubuntu RTM)
   Importance: Undecided
       Status: New

** Changed in: ubuntu-ui-toolkit (Ubuntu RTM)
       Status: New => Confirmed

** Changed in: ubuntu-ui-toolkit (Ubuntu RTM)
   Importance: Undecided => High

** Also affects: canonical-devices-system-image
   Importance: Undecided
       Status: New

** Changed in: canonical-devices-system-image
     Assignee: (unassigned) => Zoltan Balogh (bzoltan)

** Changed in: canonical-devices-system-image
    Milestone: None => 11

-- 
You received this bug notification because you are a member of Ubuntu
SDK bug tracking, 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 Canonical System Image:
  New
Status in ubuntu-ui-toolkit package in Ubuntu:
  Confirmed
Status in ubuntu-ui-toolkit package in Ubuntu RTM:
  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/canonical-devices-system-image/+bug/1553090/+subscriptions


References