Application Browser Loading Unselected Stacks

LiveCode is the premier environment for creating multi-platform solutions for all major operating systems - Windows, Mac OS X, Linux, the Web, Server environments and Mobile platforms. Brand new to LiveCode? Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
WaltBrown
Posts: 466
Joined: Mon May 11, 2009 9:12 pm

Application Browser Loading Unselected Stacks

Post by WaltBrown » Mon May 03, 2010 7:38 am

The app I am building has multiple main stacks. For some reason, every time I open one of the stacks to work on it, the IDE loads 2-3 other of my stacks. I tell the Application Browser to close each one and remove from memory, and then close and reopen the Application Browser. It now has none of my stacks loaded. Yet when I then open one of my stacks again to edit, 2-3 other stacks get loaded again. I went through to see if I had played with any of them as substacks, and that did not seem to be the issue. I have also tried closing and reopening the IDE. Any thoughts on what is causing this?

Thanks,
Walt
Walt Brown
Omnis traductor traditor

WaltBrown
Posts: 466
Joined: Mon May 11, 2009 9:12 pm

Re: Application Browser Loading Unselected Stacks

Post by WaltBrown » Mon May 03, 2010 7:49 am

Additional information. When I restart the IDE and load a stack to edit, it is the only one in the Application Browser. The other stacks appear in the Application Browser when I Close and Remove from memory the stack I was working on. It is not consistent - about 30% of the time no other stacks get loaded, sometimes as many as 6 get loaded.
Walt Brown
Omnis traductor traditor

Mark
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 5150
Joined: Thu Feb 23, 2006 9:24 pm
Contact:

Re: Application Browser Loading Unselected Stacks

Post by Mark » Mon May 03, 2010 11:43 am

Hi Walt,

It might help to set the destroyStack property of your stacks to true. Do you have any scripts that use other stacks? Have you set any stackfile properties (in the property inspector of the mainstack)?

Best,

Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode

WaltBrown
Posts: 466
Joined: Mon May 11, 2009 9:12 pm

Re: Application Browser Loading Unselected Stacks

Post by WaltBrown » Mon May 03, 2010 3:23 pm

Thanks Mark, I'll check those out.
Walt
Walt Brown
Omnis traductor traditor

Post Reply