Blank left panel header in gallery after resizing AdaptivePageLayout from two panels to one and back
Bug #1556860 reported by
Andrea Bernabei
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical System Image |
Fix Released
|
High
|
Zoltan Balogh | ||
ubuntu-ui-toolkit (Ubuntu) |
Fix Released
|
High
|
Tim Peeters | ||
ubuntu-ui-toolkit (Ubuntu RTM) |
Fix Released
|
High
|
Tim Peeters |
Bug Description
UITK r1888
Environment:
Windowed mode, Vivid+OverlayPPA
Steps to reproduce:
1) Launch UI Toolkit Gallery
2) Scroll left panel until the header animates out of screen
3) Resize window so that only the left panel is shown
4) Resize window until it shows both left and right panels
Expected Outcome:
The Header comes back into view
Actual Outcome:
Header doesn't show, and its place is taken by a blank box.
Related branches
lp:~tpeeters/ubuntu-ui-toolkit/apl-blank-header-fix
- ubuntu-sdk-build-bot: Approve (continuous-integration)
- Zsombor Egri: Approve
-
Diff: 56 lines (+35/-0)2 files modifiedexamples/ubuntu-ui-toolkit-gallery/MainPage.qml (+2/-0)
src/Ubuntu/Components/plugin/ucheader.cpp (+33/-0)
description: | updated |
Changed in ubuntu-ui-toolkit (Ubuntu): | |
assignee: | nobody → Tim Peeters (tpeeters) |
importance: | Undecided → High |
Changed in ubuntu-ui-toolkit (Ubuntu): | |
status: | New → Confirmed |
Changed in ubuntu-ui-toolkit (Ubuntu): | |
status: | Confirmed → In Progress |
Changed in ubuntu-ui-toolkit (Ubuntu): | |
status: | In Progress → Confirmed |
Changed in ubuntu-ui-toolkit (Ubuntu): | |
status: | Confirmed → In Progress |
Changed in ubuntu-ui-toolkit (Ubuntu): | |
status: | In Progress → Fix Committed |
Changed in canonical-devices-system-image: | |
assignee: | nobody → Zoltan Balogh (bzoltan) |
importance: | Undecided → High |
milestone: | none → 11 |
Changed in ubuntu-ui-toolkit (Ubuntu RTM): | |
status: | New → Fix Committed |
Changed in canonical-devices-system-image: | |
status: | New → In Progress |
Changed in ubuntu-ui-toolkit (Ubuntu RTM): | |
importance: | Undecided → High |
Changed in canonical-devices-system-image: | |
status: | In Progress → Fix Committed |
Changed in ubuntu-ui-toolkit (Ubuntu RTM): | |
assignee: | nobody → Tim Peeters (tpeeters) |
Changed in canonical-devices-system-image: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
This is not a bug in APL or header, but in the gallery. The APL currently does nothing with the PageHeader when changing the layout, the apps need to deal with that. The gallery does that by setting and unsetting the PageHeader. flickable property, but that does not automatically reset PageHeader.exposed when the flickable is set or unset.
This can be a feature that we add to the APL. We would need some UX input for that to describe what should happen exactly when changing the layout. That would be a separate bug though.