** Also affects: canonical-devices-system-image Importance: Undecided Status: New
-- 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/1577351 Title: OptionSelector: selectedIndex should be updated before onTriggered and onDelegateClicked Status in Canonical System Image: New Status in ubuntu-ui-toolkit package in Ubuntu: New Bug description: OptionSelector { onSelectedIndexChanged: { console.log("SelectedIndex Changed") } onTriggered: { console.log("On Triggered") } onDelegateClicked: { console.log("Delegate Clicked: " + index) } With this example we see that onTriggered and onDelegateClicked are being fired before selectedIndex has been updated. This makes the onTriggered quite useless, as the important info of which is the selectedIndex is not there yet. onDelegateClicked suffers from the same problem, although it's index argument allows to workaround this bug. IMHO having the selectedIndex updated before triggering these signals is a justifiable and sane behavior. To manage notifications about this bug go to: https://bugs.launchpad.net/canonical-devices-system-image/+bug/1577351/+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