Comment 3 for bug 1225079

Revision history for this message
Tim Peeters (tpeeters) wrote :

The example code is incorrect. Page 1 is never pushed on the PageStack, so it does not become active after popping page 2. Initially it happens to be visible because it is like any item in the PageStack.

Although it is not a bug in UITK, it is easy enough to make this mistake, so I link the bug to a branch where I am making Pages inside PageStack not visible by default (that will also make it possible to define several Pages inside PageStack so that they can be pushed later, without explicitly setting them to be not visible and not active initially).