Long Standing Issue with the defaultStack

dunbarx at aol.com dunbarx at aol.com
Sat Apr 18 12:53:48 EDT 2020

I make a new stack "XXX", and a substack "YYY", and save the lot. To be sure, I quit LC and open "XXX" from the desktop.
There is a single button on "XXX" that:on mouseUp   go stack"yyy"answer the defaultStackend mouseUp
I get "YYY"
What are you seeing?

-----Original Message-----
From: Bob Sneidar via use-livecode <use-livecode at lists.runrev.com>
To: How to use LiveCode <use-livecode at lists.runrev.com>
Cc: Bob Sneidar <bobsneidar at iotecdigital.com>
Sent: Fri, Apr 17, 2020 7:19 pm
Subject: Long Standing Issue with the defaultStack

Hi all. 

I think I have stumbled across what appears to be a bug. When I open a sub stack from a main stack script, the main stack remains the defaultStack. This is causing any number of issues with me. I have a closeStackRequest handler for instance that auto saves the stack. It never gets triggered because the closeStack message never gets sent to it! 

If I open a stack, shouldn’t THAT STACK become the default, barring modal or system stacks? 

MacOS Community 9.5.1

Bob S

use-livecode mailing list
use-livecode at lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:

More information about the use-livecode mailing list