← Back to team overview

ubuntu-sdk-bugs team mailing list archive

[Bug 1218250] Re: [OptionSelector] needs a "entry has been clicked" signal

 

** Changed in: ubuntu-ui-toolkit
       Status: Fix Committed => Fix Released

-- 
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/1218250

Title:
  [OptionSelector] needs a "entry has been clicked" signal

Status in Ubuntu UI Toolkit:
  Fix Released
Status in “ubuntu-ui-toolkit” package in Ubuntu:
  Fix Released

Bug description:
  Current there is only has onSelectedIndexChanged signal, that's not
  enough because:

  - there is no way to tell appart code selection and user selection
  (e.g if you set the index, for a component, when loading, you get the
  callback triggered)

  - we want some actions to only happen on user action (e.g in the
  "ringtone selection" screen we want the preview to happen only when
  user click, not when the index is updated due to a config change)

  - the design require for the actions to happen on click sometime even
  when the selection doesn't change (e.g in the "ringtone selection"
  case, clicking on the currently selected entry should preview the
  sound again)

  Thanks for considering!

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-ui-toolkit/+bug/1218250/+subscriptions