← Back to team overview

ubuntu-sdk-bugs team mailing list archive

[Bug 1388094] [NEW] Slider component can have problems when binding value

 

Public bug reported:

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.

** Affects: ubuntu-ui-toolkit (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
SDK bug tracking, 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:
  New

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


Follow ups

References