Public bug reported: In Ubuntu.Components 1.1 this was working fine to pop everything from a PageStack except the first page:
while (pageStack.depth > 1) { pageStack.pop() } In Ubuntu.Components 1.2 this does no longer work, because it pops the first page too. My suspicion is that it is related to the animation in the header which updates the depth asynchronously. See the attached file as a standalone example to reproduce. While it works when importing 1.1, it breaks when importing 1.2 ** Affects: ubuntu-ui-toolkit (Ubuntu) Importance: Undecided Status: New ** Attachment added: "pageStack.qml" https://bugs.launchpad.net/bugs/1461729/+attachment/4409484/+files/pageStack.qml -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1461729 Title: calling pageStack.pop() in a loop pops too much To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ubuntu-ui-toolkit/+bug/1461729/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs