touch-packages team mailing list archive
-
touch-packages team
-
Mailing list archive
-
Message #82926
[Bug 1461729] Re: calling pageStack.pop() in a loop pops too much
Pop() is called repeatedly before the previous page is actually popped,
because of the animation.
I think we need to disable all animations, or add a pop(bool immediate)
function, or completely make the visuals and pagestack asynchronous,
including copying of the Page in memory to avoid showing a Page (that is
animating out) when it was already popped from the stack and removed
from memory.
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to ubuntu-ui-toolkit in
Ubuntu.
https://bugs.launchpad.net/bugs/1461729
Title:
calling pageStack.pop() in a loop pops too much
Status in ubuntu-ui-toolkit package in Ubuntu:
Confirmed
Bug description:
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
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-ui-toolkit/+bug/1461729/+subscriptions
References