[SailfishDevel] State is persistent when I come back to a page, how to avoid this ?

Martin Grimme martin.grimme at gmail.com
Wed Dec 18 11:26:52 UTC 2013


Hi,

2013/12/18, Franck Routier (perso) <alci at mecadu.org>:
> As to understanding why the card state persists, do you have any pointer
> to readings that would enlighten me ??

It's a page "stack", so the pages "below" the current page are still
existing in memory (you should be aware of that if you stack lots of
complex pages on top of each other).
Therefore, the previous page does not get destroyed, thus remains in
the state you left it.
Only when pushing a page onto the page stack, the new page gets
created with its original state.


Martin


More information about the Devel mailing list