← Back to team overview

touch-packages team mailing list archive

[Bug 1240288] Re: OptionSelector has no animating: or way to tell it's actually finished collapsing

 

** 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.
https://bugs.launchpad.net/bugs/1240288

Title:
  OptionSelector has no animating: or way to tell it's actually finished
  collapsing

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

Bug description:
  description:
  OptionSelector list has no animating: true/false or way to tell it's actually finished collapsing 

  steps:
  1. bzr branch lp:~chris.gagnon/ubuntu-ui-toolkit/autopilot-emulator-bug-collapse
  2. cd autopilot-emulator-bug-collapse/tests/autopilot
  3. autopilot run ubuntuuitoolkit.tests.test_emulators.OptionSelectorCollapsedTestCase.test_same_item_2_times -v

  expected results:
  item in list is selected 2 times

  actual results:
  item is not selected the second time because the list isn't finished collapsing

  additional notes:
  if I add sleep(1) before selecting the item in the list it will pass. but I don't see anyway to tell the animation is finished. Maybe OptionSelector's listContainer is returning isExpanded true before it should?

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