[pageStack] show the wrong toolBar when going back from a Tab
Bug #1202626 reported by
londumas
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu UI Toolkit |
Invalid
|
Undecided
|
Unassigned | ||
Ubuntu UX |
Invalid
|
Undecided
|
Katie Taylor |
Bug Description
Sorry for the title it is hard to explain.
So When you have two tabs, one is a pageStack with two pages with a different toolBar on each and the other a simple page, if you leave the pageStack tab for the page tab and then go back to it the page shown is the good one in the pageStack but the toolBar isn't.
See the file: look the toolBar there is a button "button1", change for tab "page" then go back to "pageStack" observe that now the toolBar shows "Button2" but the page on the stack is still "page1".
The ToolBar shown should be the one of the "currentPage", not another.
I hope someone can understand this difficult bug.
[edit] code is in comment #12
Changed in ubuntu-ux: | |
assignee: | nobody → Calum Pringle (calumpringle) |
Changed in ubuntu-ux: | |
assignee: | Calum Pringle (calumpringle) → Katie Taylor (katie-t) |
Changed in ubuntu-ui-toolkit: | |
status: | Confirmed → Invalid |
To post a comment you must log in.
I can fully confirm this when trying to implement pagestack in the clock app. So my situation is described as follows. I have 4 tabs Clock, Timer, Stopwatch and Alarm. In the clock tab, I need to show the clock in one page, and the world city list in another page (deep navigation). So I added these pages in a pagestack which in itself is inside the clock tab. On switching to the timer tab (which has a ordinary page) and then switching back to the clock tab, I notice that the toolbar shown is that of the timer tab and not the clock tab.