Page 2 of 2

Re: Switching between subStacks

Posted: Sat Feb 15, 2014 5:54 pm
by Klaus
Hi Kenny,

I just added a comment about this fact to the report!


Best

Klaus

Re: Switching between subStacks

Posted: Sat Feb 15, 2014 6:01 pm
by KennyR
LOL that is correct!

Re: Switching between subStacks

Posted: Mon Feb 17, 2014 7:22 pm
by KennyR
Klaus....sorry to keep this thread alive and kicking but I have something strange going on here....Iv'e noticed navigating between stacks using no visual effects works but has some unexpected things happening when you have code in the preOpenCard script. The first time you navigate to the sub stack the preOpenCard handlers work well but when you navigate to the master stack and then back to the sub stack the handlers in the card script are ignored. I suppose the card is only being hidden and shown when called...I am not familiar with how this all works on the back end, but I assumed when leaving a card and going to the next stack that the card "closed" so that if you had a preOpenCard handler in the script it would run it again when the card was re-opened....

Update: BUG confirmed and they are working on a fix....WHOHOOO!

Re: Switching between subStacks

Posted: Tue Feb 18, 2014 10:36 pm
by jacque
Cool. I had this problem also in a project but I didn't think it was a bug, I thought it was how messaging worked. My stacks had destroystack set to false, so when they closed they were actually still in memory. I didn't get any preOpenCard or preOpenStack messages when I re-opened them, but I thought it was because they were technically still open, even though they weren't in the message path. Now that I think about it, it is a bug and I'm glad they are fixing it. It does mean my workaround will break though, I'll have to fix that.