Re: [SailfishDevel] pageStack navigation

2016-07-21 Thread Kimmo Lindholm
See here ttps://together.jolla.com/question/44103/how-to-remove-all-except-bottom-page-from-pagestack/#post-id-44117 -kimmo ___ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] pageStack navigation

2016-07-21 Thread Michael Neufing
Hi, can you upload your project to GitHub or something? Maybe this could help us to help you :) Regards, Michael Am 21.07.2016 09:59, schrieb occirol: Hi , @Michael Thanks, I've tried that but it complains that the mainPage is not in the stack. So if the initialPage is set with mainPage, the

Re: [SailfishDevel] pageStack navigation

2016-07-21 Thread occirol
Hi , @Michael Thanks, I've tried that but it complains that the mainPage is not in the stack. So if the initialPage is set with mainPage, the mainPage is not in the stack ?!? I thought it was. Regards, Fab On 07/20/2016 09:52 PM, Michael Neufing wrote: Hi Fab, have you already tried to use

Re: [SailfishDevel] pageStack navigation

2016-07-21 Thread Panu Artimo
2016-07-21 9:41 GMT+02:00 Olavi Haapala : > First time ever answering to these mail lists... so hope i'm not doing > something wrong here :) > Maybe remove unneeded quoting next time :-) P ___ SailfishOS.org Devel mailing list To unsubscribe, please se

Re: [SailfishDevel] pageStack navigation

2016-07-21 Thread Olavi Haapala
ript I can run on RPM's > post-install to generate the right size icons from SVGs or large PNGs? > Or should I just roll my own solution that packs in icons of different > sizes and loads the closest match at runtime? > > -- > Osmo Salomaa > > > ---

Re: [SailfishDevel] pageStack navigation

2016-07-20 Thread Matthew Vogt
5:15 AM To: Sailfish OS Developers Subject: Re: [SailfishDevel] pageStack navigation @Dylan According to the doc, there is no function completeTransition for a PageStack object. @Oleg I've something weird with your solution. Goal is reach but the MainPage is empty, as if the app was never st

Re: [SailfishDevel] pageStack navigation

2016-07-20 Thread Dylan Van Assche
My fault it's called 'completeAnimation' Dylan Original Message Subject: Re: [SailfishDevel] pageStack navigation Local Time: 20 July 2016 9:15 PM UTC Time: 20 July 2016 19:15 From: develo...@nordan.ch To: devel@lists.sailfishos.org @Dylan According to the d

Re: [SailfishDevel] pageStack navigation

2016-07-20 Thread Michael Neufing
Hi Fab, have you already tried to use the following? pageStack.pop(mainPage) This will remove all pages above the specified page (here: mainPage). See [1] for more information. Regards, Michael. [1] https://sailfishos.org/develop/docs/silica/qml-sailfishsilica-sailfish-silica-pagestack.

Re: [SailfishDevel] pageStack navigation

2016-07-20 Thread occirol
-- Original Message Subject: [SailfishDevel] pageStack navigation Local Time: July 20, 2016 6:02 PM UTC Time: July 20, 2016 4:02 PM From: develo...@nordan.ch <mailto:develo...@nordan.ch> To: devel@lists.sailfishos.org <mailto:devel@lists.sailfishos.org>

Re: [SailfishDevel] pageStack navigation

2016-07-20 Thread Oleg Linkin
only one > page will be popped. > > You can fix it like this: > > > if(!pageStack.busy) > { > pageStack.pop() > pageStack.completeTransition() // This will pop the page directly. > } > > ---- Original Message > Subject: [SailfishDevel] pageStack navigati

Re: [SailfishDevel] pageStack navigation

2016-07-20 Thread Dylan Van Assche
. } Original Message Subject: [SailfishDevel] pageStack navigation Local Time: July 20, 2016 6:02 PM UTC Time: July 20, 2016 4:02 PM From: develo...@nordan.ch To: devel@lists.sailfishos.org Hello everybody ! I can't figure out how to go back to the main page of an app and

[SailfishDevel] pageStack navigation

2016-07-20 Thread occirol
Hello everybody ! I can't figure out how to go back to the main page of an app and clear the stack of pages. Let me explain: I've a main page, by selecting a menu entry push a page (lets call it page1). On this page1, calling a certain action, push another page (call it page2, it is a dialog