Disappearing substack...

Alex Rice alrice at ARCplanning.com
Wed Jul 16 10:43:00 EDT 2003


On Wednesday, July 16, 2003, at 12:06  PM, Edwin Gore wrote:

> I'm running into a very strange problem. The "Help" stack of a project 
> I am working on keeps disappearing. It's a substack, and nothing else 
> seems to be afffected. Because I am stupid, this means that I have so 
> far had to re-write the help section twice, since I have been saving 
> frequently, but didn't make a back-up copy after finishing it (I am 
> now using Chipp's archiver religiously!).
>
> My question is this - what the heck is happening!?!? At first I 
> thought that maybe I had accidently used a "delete stack" command 
> someplace, but searching the scripts doesn't find anything. Neither 
> does searching for "clear stack".
>
> Are there any other synonyms for "Delete Stack" that I am missing? Is 
> there any way to detect that a stack is being deleted so I can trap 
> that when it happens and trace this down? Is there anything else that 
> anyone can thing of that could be doing this? It's really irritating.
>

Edwin, is it possible you have another mainstack with a substack of the 
same name, and opening the mainstacks at the same time, effectively 
having two substacks of the same name open at once? I've filed a bug 
report involving this issue.

Bugzilla Bug 143
	  	naming collisions w/ open substacks having same name
--

Here's the scenario

create mainstack 1
add substack and rename to "fu"
create mainstack 2
add substack
-- now try to rename substack to "fu" with the inspector tool. 
-- name reverts to "Untitled x"
-- (that's already repeatable)

(next issue)

save both mainstacks
close mainstack 1
rename substack of mainstack 2 to substack "fu"
save and close mainstack 2
open mainstack 1
open mainstack 2
-- now you have two substack "fu"s open
-- do work in ide
-- save and close mainstack 1
-- reopen mainstack 1 now it is missing substack "fu"
-- The do work in ide seems to be key here. It's not always repeatable.



Alex Rice, Software Developer
Architectural Research Consultants, Inc.
http://ARCplanning.com




More information about the use-livecode mailing list