ItemSelector loses focus on SelectedItem when expand and collapse

Bug #1270430 reported by Jonathan D'Orleans
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu UI Toolkit
Fix Released
Undecided
Unassigned

Bug Description

Video: https://www.youtube.com/watch?v=nYKYkhGDkgk

I'm showing in this video a bug when we switch between expanded and collapsed state of ListItem.ItemSelector.

As we can see, the ScriptAction changes the position of the SelectedItem every time we expand or collapse the list. I also tested these behaviours removing the ScriptAction code and it seems to me solving the problem.

I didn't figure it out what's the real purpose of that script and maybe it should be removed.

Revision history for this message
Jonathan D'Orleans (jonathan.dorleans) wrote :

Source code of example

Tim Peeters (tpeeters)
Changed in ubuntu-ui-toolkit:
status: New → Fix Released
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.