SystemSettings Language&Text view: hitting Space on HW keyboard triggers switch even when it (or its list item) does not show any visual focus frame
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical System Image |
Confirmed
|
High
|
Zoltan Balogh | ||
ubuntu-system-settings (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
ubuntu-ui-toolkit (Ubuntu) |
Triaged
|
High
|
Unassigned | ||
ubuntu-ui-toolkit (Ubuntu RTM) |
Confirmed
|
High
|
Unassigned |
Bug Description
Nexus7, rc-proposed, r373
Ubuntu UI Toolkit version r1795
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
This is confusing for the user as he can never be sure about which item will be actioned by the keyboard keys
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
<https:/
<https:/
Related branches
- ubuntu-sdk-build-bot: Approve (continuous-integration)
- Cris Dywan: Approve
- PS Jenkins bot: Pending (continuous-integration) requested
- Tim Peeters: Pending requested
-
Diff: 1287 lines (+897/-29)16 files modifiedsrc/Ubuntu/Components/Themes/Ambiance/1.3/ListItemStyle.qml (+1/-0)
src/Ubuntu/Components/plugin/plugin.pri (+2/-0)
src/Ubuntu/Components/plugin/privates/listviewextensions.cpp (+151/-0)
src/Ubuntu/Components/plugin/privates/listviewextensions.h (+60/-0)
src/Ubuntu/Components/plugin/quickutils.cpp (+53/-0)
src/Ubuntu/Components/plugin/quickutils.h (+3/-0)
src/Ubuntu/Components/plugin/uclistitem.cpp (+110/-7)
src/Ubuntu/Components/plugin/uclistitem.h (+7/-0)
src/Ubuntu/Components/plugin/uclistitem_p.h (+5/-1)
src/Ubuntu/Components/plugin/ucstyleditembase.cpp (+16/-1)
src/Ubuntu/Components/plugin/ucstyleditembase.h (+2/-1)
src/Ubuntu/Components/plugin/ucstyleditembase_p.h (+1/-0)
src/Ubuntu/Components/plugin/ucviewitemsattached.cpp (+28/-10)
tests/resources/listitems/ListItemTest.qml (+10/-5)
tests/unit_x11/tst_components/tst_listitem_focus.qml (+417/-0)
tests/unit_x11/tst_components/tst_quickutils.qml (+31/-4)
summary: |
- List items focus in SystemSettings Language&Text view misbehaves + SystemSettings Language&Text view: hitting Space on HW keyboard triggers + switch even when it (or its list item) does not show any visual focus + frame |
Changed in ubuntu-ui-toolkit (Ubuntu): | |
status: | Confirmed → In Progress |
importance: | Undecided → High |
Changed in ubuntu-ui-toolkit (Ubuntu): | |
status: | In Progress → Fix Committed |
no longer affects: | ubuntu-system-settings (Ubuntu RTM) |
Changed in ubuntu-ui-toolkit (Ubuntu RTM): | |
status: | New → Fix Committed |
importance: | Undecided → High |
Changed in canonical-devices-system-image: | |
assignee: | nobody → Zoltan Balogh (bzoltan) |
status: | New → In Progress |
importance: | Undecided → High |
milestone: | none → 11 |
Changed in canonical-devices-system-image: | |
status: | In Progress → Fix Committed |
Changed in canonical-devices-system-image: | |
status: | Fix Committed → Fix Released |
Changed in canonical-devices-system-image: | |
milestone: | 11 → 12 |
description: | updated |
Changed in ubuntu-ux: | |
assignee: | nobody → Matthew Paul Thomas (mpt) |
Changed in ubuntu-ux: | |
status: | New → In Progress |
Changed in canonical-devices-system-image: | |
status: | Confirmed → Incomplete |
milestone: | 12 → backlog |
description: | updated |
Changed in canonical-devices-system-image: | |
status: | Incomplete → Confirmed |
no longer affects: | ubuntu-ux |
Status changed to 'Confirmed' because the bug affects multiple users.