** Description changed:
Often a CheckBox/Switch is used to show the value of a property outside
of the CheckBox. For example:
Switch {
id: hiddenSwitch
checked: !header.exposed
onClicked: header.exposed = !header.exposed
}
At first look, this code may seem fine,
More people run into problems here: http://pastebin.ubuntu.com/12417204/
--
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/1494387
Title:
CheckBox needs to track
I can only make a guess since you're not providing a complete example,
but I don't see a problem with my code doing what you're describing. The
binding isn't broken, the only problem I can see is that the state gets
reversed because the value is changed twice. To achieve the desired
result you
Status changed to 'Confirmed' because the bug affects multiple users.
** Changed in: ubuntu-ui-toolkit (Ubuntu)
Status: New => Confirmed
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to ubuntu-ui-toolkit in
Ubuntu.
Christian, you are right. Overriding the trigger() function works for
me!
However, we do not have this documented, and if I am not an exception
here, many developers may run into this issue, so I keep the bug open,
but I will update its description to say that we need documentation.
**
5 matches
Mail list logo