← Back to team overview

touch-packages team mailing list archive

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

 

Please us the new ListItem (UITK 1.2) as ListItems.Empty is deprecated.
You can simply replace the ListItem.Empty with ListItem, and remove the
import to Ubuntu.Components.ListItems

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

-- 
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 package in Ubuntu:
  Fix Released

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/+source/ubuntu-ui-toolkit/+bug/1368273/+subscriptions