Cannot push second page of new default project

Setting up a new project, I noticed that I could not open the SecondPage from the pulley menu in the FirstPage, it opens the SecondPage but no contents are displayed, the only item visible, is the BusyIndicator, but the page never actually loads.

After a little nosing around on FirstPage, I found that “pageStack.animatorPush(“SecondPage.qml“)”, only works when swapping out “animatorPush” for “push(“SecondPage.qml“)”, once I changed that, the SecondPage opens and displays its contents.

Maybe I misunderstand, but animatorPush is not a method of (Silica) PageStack.
So that’s expected I guess.

With my first two apps I looked around a bit, what others did to get certain UI. Later I found Opal to be really handy to always get a good setup of rows, margins, etc.
Check out Opal gallery, I think from OpenRepos.
You might also join SFOS App dev group, ID 156136434 on Telegram.
Great that you’re working on some new app!

1 Like

Maybe you misunderstand, animatorPush is given in the project, I did not make that change, any new project should also show this, so the project is broken from the start.

Oh, right, so it’s a bug in the default/Jolla-specific project template of the SDK?

Thanks for the clarification!

I cannot find the sources for that, and if this is still true they’re not available.

1 Like

Correct @nephros, the bug is in the default/Jolla -specific template in SDK. In both, Sailfish QtQuick application and Sailfish QtQuick application(QML only) project templates.

1 Like