How to reproduce:
1) Connect bluetooth keyboard
2) Open system settings
3) Open Language & Text view
4) Press tab until the n-th switch shows its focus frame
5) Now tap (using touchscreen) on the m-th list item, with m < n (tap on the list item, not on the switch of that list item)
NOTE: It is important that m < n, the bug will not trigger on listitems that have not been focused at least once!
6) At this point the focus frame around the n-th switch has disappeared
7) Now press Space on the keyboard
Expected outcome:
Nothing, because there is no focus frame anywhere on the screen
Actual outcome:
The switch of the m-th list item is triggered, even though that list item or switch were not showing any focus frame
Nexus7, rc-proposed, r373
Ubuntu UI Toolkit version r1795
How to reproduce:
1) Connect bluetooth keyboard
2) Open system settings
3) Open Language & Text view
4) Press tab until the n-th switch shows its focus frame
5) Now tap (using touchscreen) on the m-th list item, with m < n (tap on the list item, not on the switch of that list item)
NOTE: It is important that m < n, the bug will not trigger on listitems that have not been focused at least once!
6) At this point the focus frame around the n-th switch has disappeared
7) Now press Space on the keyboard
Expected outcome:
Nothing, because there is no focus frame anywhere on the screen
Actual outcome:
The switch of the m-th list item is triggered, even though that list item or switch were not showing any focus frame