Public bug reported: When trying to assign a binding value to head.sections.selectedIndex, this value is not updated when the bound value changes. See the example program below:
import QtQuick 2.4 import Ubuntu.Components 1.3 MainView { id: mainview objectName: "mainView" width: units.gu(100) height: units.gu(75) Page { id: mainPage title: "selectedIndex: " + head.sections.selectedIndex + " should be: " + mainPage.selectedIndex property int selectedIndex: -1 head.sections.model: [ "first", "second", "third" ] head.sections.selectedIndex: mainPage.selectedIndex Rectangle { anchors.fill: parent color: "white" Label { anchors.centerIn: parent text: "Click me" } } MouseArea { anchors.fill: parent onClicked: mainPage.selectedIndex = (mainPage.selectedIndex + 1) % 3 } } } ** Affects: canonical-devices-system-image Importance: High Assignee: Zoltan Balogh (bzoltan) Status: New ** Affects: ubuntu-ui-toolkit (Ubuntu) Importance: High Assignee: Zoltan Balogh (bzoltan) Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1517614 Title: Page.head.sections.selectedIndex binding of values is broken To manage notifications about this bug go to: https://bugs.launchpad.net/canonical-devices-system-image/+bug/1517614/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs