OverviewFelgo 2 Support (Qt 5) › doubt about NavigationStack clearAndPush

Viewing 1 post (of 1 total)
  • Author
  • #23601


    I was having some issues with some androids of how to present some pages, for some reason the ‘<b>popAllExceptFirstAndPush‘ pop to the the first page but never pushed to the given page, so I tryed with ‘clearAndPush’ method, and apparantly that solved the problem but now I have this issue: </b>

    On the start of the app I do this steps:

    1. OnPos coordinate: Get user zone , to check if we have service on that area,
    2. on valid zone : check stored session id is still valid
    3. if valid go to main page if not go to login page

    All of this functions where locked with the ‘isCurrentStackPage’ but now even when I cleared,and Im on the main page or login page,  the pos is triggering the getzone function ignoring the flag, I don’t know why the property is true if is not the current stack page,  the page was already cleared, I need to destroy it or something? or I understand something wrong of how the Navigation works?

      Connections {
            target: posSrc
            onHasError: {
                if (!isCurrentStackPage) {
            onCoordFetched: {
     // this is being ignored and is repeated every time the 
    // pos is refreshed even when I have already left the page
                if (!isCurrentStackPage) {
    target: dataModel
    onSessionValid: {
             if (!isCurrentStackPage) { 




Viewing 1 post (of 1 total)

RSS feed for this thread

You must be logged in to reply to this topic.

Voted #1 for:

  • Easiest to learn
  • Most time saving
  • Best support

Develop Cross-Platform Apps and Games 50% Faster!

  • Voted the best supported, most time-saving and easiest to learn cross-platform development tool
  • Based on the Qt framework, with native performance and appearance on all platforms including iOS and Android
  • Offers a variety of plugins to monetize, analyze and engage users
create apps
create games
cross platform
native performance
3rd party services
game network
level editor
easiest to learn
biggest time saving
best support