[SailfishDevel] Problems with the Emulator (possible bugs?)

christopher.lamb at thurweb.ch christopher.lamb at thurweb.ch
Tue Nov 5 06:20:01 UTC 2013


HI Bolex

Have you tried updating the properties on pushing?


     DefaultSMSPage {
         id: defaultSMSPage
         fontSize: appWindow.fontSize
         onCancelled: pageStack.pop(mainPage);
         onNextPage: {
             pageStack.push(contactSelectionPage, {template_id: 1234})
         }
      }

Unfortunately this only works for push, for pop you cannot set  
properties in this way.

Perhaps you could post your code somewhere ...

Ciao

Chris


Zitat von tw_bolek <tw_bolek at op.pl>:

> Hello guys,
>
> While porting my applications to Sailfish OS, I encountered the  
> following problems with the Emulator. ......
>
> 2) If I update something on a page that's currently not visible  
> (i.e. it isn't the topmost page in the stack) then its visible  
> contents don't get refreshed.  Its properties themselves DO get  
> updated (which I can verify with console.log output) but when I go  
> back to that page (e.g. via pageStack.pop()) then it still shows  
> "old" content. If I update these properties once again, while the  
> page IS visible (topmost), then everything gets updated correctly.
> .....
>
> Thank you,
> Bolek
> _______________________________________________
> SailfishOS.org Devel mailing list
>




More information about the Devel mailing list