Hi Gao,<br><br>Actually the initialPage property holds 'the' initial page.<br>It doesn't works with an ordered lists of pages.<br>Just put initialPage: c to get your expected behaviour.<br><br>Br,<br><br clear="all">

Daker Fernandes Pinheiro<br><br>
<br><br><div class="gmail_quote">2012/7/12 Gao Xiang <span dir="ltr"><<a href="mailto:qasdfgtyuiop@gmail.com" target="_blank">qasdfgtyuiop@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

The sample qml is easy:<br>
======================================================<br>
import QtQuick 1.1<br>
import org.kde.plasma.components 0.1 as PlasmaComponents<br>
Item {<br>
        PlasmaComponents.PageStack {<br>
                id: pageStack<br>
                anchors.fill: parent<br>
                initialPage: [ c, b, a ]<br>
        }<br>
        PlasmaComponents.Page {<br>
                id: a<br>
                anchors.fill: parent<br>
                PlasmaComponents.Label{ text: "a" }<br>
                onStatusChanged: if(status==PlasmaComponents.PageStatus.Active)<br>
pageStack.pop();<br>
        }<br>
        PlasmaComponents.Page {<br>
                id: b<br>
                anchors.fill: parent<br>
                PlasmaComponents.Label{ text: "b" }<br>
                onStatusChanged: if(status==PlasmaComponents.PageStatus.Active)<br>
pageStack.pop();<br>
        }<br>
        PlasmaComponents.Page {<br>
                id: c<br>
                anchors.fill: parent<br>
                PlasmaComponents.Label{ text: "c" }<br>
        }<br>
}<br>
======================================================<br>
I wish to get a "c" in screen.  But I got a "b".  What's wrong?  Why the<br>
second pageStack.pop() doesn't work?<br>
<br>
Thanks.<br>
_______________________________________________<br>
Plasma-devel mailing list<br>
<a href="mailto:Plasma-devel@kde.org">Plasma-devel@kde.org</a><br>
<a href="https://mail.kde.org/mailman/listinfo/plasma-devel" target="_blank">https://mail.kde.org/mailman/listinfo/plasma-devel</a><br>
</blockquote></div><br>