12-05-2012 10:02 AM
Say I have two navigationPane that are put into two tabs, say, navPane1, navPane2; Then I have a page, say, myPage. All are c++ objects that load qml files. Now what I want is to push the single myPage object into navPane1, then pop up, then push it to navPane2. Or in other order.
What I observed is that if I push it to navPane1 first, then pop up, push it to navPane2, the UI will not be show on the phone. But it can be pushed and poped up in navPane1 without any problem. The same happens if I pushe it to navPane2 first.
So it seems to me that once a page is pushed to a navPane, it can only be pushed into the same navPane later. It would not work if you want to push it to another navPane.
Is that true?
Solved! Go to Solution.
12-05-2012 10:39 AM
It makes sense that you would not be able to push the exact same page object onto two different navigation panes. You should be able to push two separate instances of the same page onto two different navigation panes... does that fit your use case?
If not, I think you should look at the navigation structure of the app anyway - being able to navigate to the exact same screen in two different tabs seems a bit broken and confusing. Consider switching tabs automatically, or using a Sheet.
12-10-2012 08:06 AM