Sections does not scroll
Bug #1465048 reported by
Sam Bull
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical System Image |
Fix Released
|
High
|
Zoltan Balogh | ||
ubuntu-ui-toolkit (Ubuntu) |
Fix Released
|
High
|
Tim Peeters |
Bug Description
If there are too many parts in PageHeadSections, there is no way to select sections off the screen. This could be solved by allowing the sections to be scrolled horizontally, similarly to how the original Header worked in the early toolkit versions.
Example of where this is a problem:
I use the PageHeadSections to allow the user to select between languages for translation. The available languages here are set by the user in the settings. So, in most cases only 2-5 languages will be listed, but a user could decide to use all ~150 languages if they wanted to.
Related branches
lp://staging/~tpeeters/ubuntu-ui-toolkit/60-scectionScrolling
- ubuntu-sdk-build-bot: Approve (continuous-integration)
- Cris Dywan: Approve
- PS Jenkins bot: Pending (continuous-integration) requested
-
Diff: 1299 lines (+717/-150)15 files modifiedexamples/ubuntu-ui-toolkit-gallery/PageHeaders.qml (+27/-0)
examples/ubuntu-ui-toolkit-gallery/Sections.qml (+62/-14)
src/Ubuntu/Components/1.3/Sections.qml (+0/-4)
src/Ubuntu/Components/Themes/Ambiance/1.3/SectionsForPageHead.qml (+2/-3)
src/Ubuntu/Components/Themes/Ambiance/1.3/SectionsForPageHeadStyle.qml (+122/-0)
src/Ubuntu/Components/Themes/Ambiance/1.3/SectionsStyle.qml (+307/-36)
src/Ubuntu/Components/Themes/Ambiance/Ambiance.pro (+1/-0)
src/Ubuntu/Components/Themes/Ambiance/qmldir (+1/-0)
tests/Gallery/gallery (+0/-6)
tests/autopilot/ubuntuuitoolkit/_custom_proxy_objects/_sections.py (+11/-12)
tests/autopilot/ubuntuuitoolkit/tests/custom_proxy_objects/test_sections.SectionsTestCase.qml (+36/-4)
tests/autopilot/ubuntuuitoolkit/tests/custom_proxy_objects/test_sections.py (+25/-1)
tests/unit_x11/tst_components/tst_pagehead_sections.qml (+1/-1)
tests/unit_x11/tst_components/tst_pagehead_sections_bug1511839.qml (+1/-1)
tests/unit_x11/tst_components/tst_sections.qml (+121/-68)
Changed in ubuntu-ui-toolkit (Ubuntu): | |
assignee: | nobody → Andrea Bernabei (faenil) |
status: | New → Confirmed |
importance: | Undecided → High |
Changed in ubuntu-ui-toolkit (Ubuntu): | |
status: | In Progress → Fix Committed |
Changed in canonical-devices-system-image: | |
status: | New → Fix Committed |
importance: | Undecided → High |
assignee: | nobody → Zoltan Balogh (bzoltan) |
milestone: | none → ww08-2016 |
Changed in canonical-devices-system-image: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
In the new design I believe PageHeadSections will be scrollable. That said the problem you have listed is an app issue. The PageHeadSections is designed to accommodate at most 10-20 sections. 150 sections is a overkill and a bad app design in my opinion. May be it should be shown as a listview instead.