Header and tools not updated when popping a page from the stack
Bug #1225079 reported by
Olivier Tilloy
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu UI Toolkit |
Fix Released
|
High
|
Tim Peeters | ||
ubuntu-ui-toolkit (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Vivid |
New
|
Undecided
|
Unassigned |
Bug Description
I’m attaching a QML file that demonstrates the issue. To reproduce:
1) open the attached file with qmlscene: qmlscene test.qml
2) observe that there is a toolbar with one button, and that the header reads "page 1"
3) click the button that reads "go to page 2"
4) observe that the title changed to "page 2", the background color is now green, there is no toolbar, and there is a button in the center of the page ("return to page 1")
5) click on that button
Expected result: back to page 1, the header reads "page 1" and there is a toolbar.
Current result: back to page 1, but the header still reads "page 2", and the toolbar is not there.
Related branches
lp://staging/~tpeeters/ubuntu-ui-toolkit/80-betterActive
- PS Jenkins bot: Approve (continuous-integration)
- Zsombor Egri: Approve
-
Diff: 198 lines (+55/-12)7 files modifiedcomponents.api (+1/-0)
modules/Ubuntu/Components/MainView.qml (+5/-1)
modules/Ubuntu/Components/Page.qml (+2/-0)
modules/Ubuntu/Components/PageStack.qml (+11/-0)
modules/Ubuntu/Components/PageTreeNode.qml (+10/-8)
tests/unit/tst_components/tst_pagestack.qml (+23/-3)
tests/unit/tst_mainview/PageStack.qml (+3/-0)
Changed in ubuntu-ui-toolkit: | |
status: | New → Confirmed |
importance: | Undecided → High |
assignee: | nobody → Tim Peeters (tpeeters) |
tags: | added: header |
Changed in ubuntu-ui-toolkit: | |
status: | Confirmed → In Progress |
Changed in ubuntu-ui-toolkit: | |
status: | Fix Committed → Fix Released |
Changed in ubuntu-ui-toolkit (Ubuntu): | |
status: | New → Fix Released |
To post a comment you must log in.
As a side note, I uncovered this bug while trying to migrate the webbrowser-app code over to using the standard Toolbar from the UITK, instead of a custom Panel. This is blocking me in this migration.