touch-packages team mailing list archive
-
touch-packages team
-
Mailing list archive
-
Message #31220
[Bug 1388094] Re: Slider component can have problems when binding value
The live Slider value change is expected to get the value updated on
each move. I do not really see what could we improve in the component
there. Could you provide a small sample code that reproduces the binding
loop you worked around?
--
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/1388094
Title:
Slider component can have problems when binding value
Status in “ubuntu-ui-toolkit” package in Ubuntu:
Confirmed
Bug description:
In ubuntu-system-settings and the indicators, we deal with values that
come from system services. When binding to the value in the Slider
component, this can cause unpredictable behavior because we get
property notifications back that change the value while the slider is
being moved. This has been worked around in ubuntu-settings-component
by creating a SliderMenu which used in the indicators and system-
settings for things using the MenuModel provided by the indicator
services. The SliderMenu is based on the Slider for the SDK, but adds
some logic for handling this value binding loop. It would be best to
improve the Slider to handle this sort of problem and reduce the
amount of custom components.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-ui-toolkit/+bug/1388094/+subscriptions
References