ItemSelector breaks when setting selectedIndex by interaction and programmatically

Bug #1498683 reported by Michael Zanetti
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
ubuntu-ui-toolkit (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

The ItemSelector breaks when mixing user input and controlling it programmatically.

Steps to reproduce:

* run the attached code snippet
* click the itemselector to expand it
* select any item to make it collapse (doesn't matter which one)
* press one of the buttons to change the selectedIndex to something else than it is

=> expected:
ItemSelector updates to show the new selected item

=> actual:
ItemSelector animates old selected out but fails to bring the newly selected on it. If it is expanded now, the selected item is missing the text.

Revision history for this message
Michael Zanetti (mzanetti) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in ubuntu-ui-toolkit (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.