← Back to team overview

touch-packages team mailing list archive

[Bug 1368273] Re: ListItem/Empty.qml: Binding loop detected for property "visible"

 

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

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

** Changed in: ubuntu-ui-toolkit (Ubuntu)
     Assignee: (unassigned) => Zsombor Egri (zsombi)

-- 
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/1368273

Title:
  ListItem/Empty.qml: Binding loop detected for property "visible"

Status in Ubuntu UI Toolkit:
  Incomplete
Status in “ubuntu-ui-toolkit” package in Ubuntu:
  Incomplete

Bug description:
  Looks like having a layout inside a listitem does not work.
  This is causing binding loop messages in indicators.

  Code to reprocude:

  import QtQuick 2.0
  import QtQuick.Layouts 1.1
  import Ubuntu.Components.ListItems 1.0 as ListItem

  ListItem.Empty {
      __height: layout.implicitHeight + units.gu(1)

      RowLayout {
          id: layout
          anchors {
              left: parent.left
              right: parent.right
              verticalCenter: parent.verticalCenter
          }

          Rectangle {
              Layout.fillWidth: true
              Layout.preferredHeight: units.gu(10)
              color: "red"
          }
      }
  }

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