It would help if they could see your stack. If you don't want to post it in the bug database you can send it to Panos privately.dunbarx wrote: ↑Thu Dec 14, 2017 11:01 pmBut there is a deeper, or at least more sinister issue. The recipe is peculiar to a particular project of mine. A new stack/substack combo does not exhibit the behavior. I do not need a "try" gadget to be able to navigate to another stack and have the controlling handler keep on working.
go to stack exits handler
Moderator: Klaus
Re: go to stack exits handler
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
Re: go to stack exits handler
Ok, I know I am not 'most users', but I have been following this thread all over the places it has been, and will continue to do so!
I tend to agree with your previous assessment, if it works in a new stack as expected, it should work in all stacks, so it must be something going on in your older stack that it doesn't agree with, the why of it is something puzzling though. I like Jacque's clue (error 89 is "no such object"), but it obviously isn't the start center (or is it? da da DUMP dump ~*).

Re: go to stack exits handler
If you see my recipe on http://quality.livecode.com/show_bug.cgi?id=20767 , the problem is when a substack is not already loaded by livecode.
So you have to close livecode and reopen again to see this bug.
I don't know why, but for the substacks, if I try to launch it with go, the substack doesn't show.
If I use the project browser the substack appears. Then the go works again.
This bug is only with 8 and 9.
So you have to close livecode and reopen again to see this bug.
I don't know why, but for the substacks, if I try to launch it with go, the substack doesn't show.
If I use the project browser the substack appears. Then the go works again.
This bug is only with 8 and 9.
Livecode Wiki: http://livecode.wikia.com
My blog: https://livecode-blogger.blogspot.com
To post code use this: http://tinyurl.com/ogp6d5w
My blog: https://livecode-blogger.blogspot.com
To post code use this: http://tinyurl.com/ogp6d5w
Re: go to stack exits handler
I think like Panos, his bug is different, Max. However, in trying to test out your bug here, I found a ... curious thing.
I was using 8.1.6, and wanting my test to be as similar as your rules for it, I tried to copy, then paste the names into the property inspector. I noticed 2 things right off, 1 was if you try to paste from your bug report to the name of the p.i., it creates a 'blank' where you can no longer do anything for the name of that object (stack, button, etc).
2 was I couldn't fix it till Lc closed. wierd, since I have 0 problems doing this in earlier Lc's.
*Edit - on finishing setting up the test as outlined manually, I was also unable to reproduce the result Max received, sub2 opens as expected, Lc 8.1.6 on Linux.

Re: go to stack exits handler
Regardless of the outcome of any sort of analysis of my project, I simply substituted:
for:
My work is done, though I have no idea why. I will send the stack to Panos and see if he can figure out what is going on. If he does, we will learn something, and I can reduce the length of my handler by two lines.
Craig
Code: Select all
try
go stack...
end try
Code: Select all
go stack...
Craig
Re: go to stack exits handler
Another possible cause for the problem could be a misbehaving plugin, which would also explain why only some people are having trouble. If you rename or move the user Plugins folder, and relaunch Livecode, does the problem go away?
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
Re: go to stack exits handler
Well, I can attest to it not being a misbehaving plugin as until I dl'd Andy's TinyIDE this morning, I had just cleaned out mine (other than the defaults that ship with the IDE).
But that is a good suggestion to try.

Re: go to stack exits handler
But then why do some stacks work, and some not?Another possible cause for the problem could be a misbehaving plugin, which would also explain why only some people are having trouble. I
Craig
Re: go to stack exits handler
How about, an erratically psychotic misbehaving plugin, with slightly evil intention of malice?
Curious, did you ask the "why" first, or clear all your plugins temporarily and try it


Re: go to stack exits handler
No idea, we're just flailing around now. But the problem only happens to a subset of users, and plugins are a variable factor.But then why do some stacks work, and some not?
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
Re: go to stack exits handler
Does that mean you can reproduce the problem?
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
Re: go to stack exits handler
You know, on re-reading that, I have no idea why I even put it up to begin with. I think I got confuzzled somewhere along the way, thank you for making me re-read it Jacque
I wasn't able to reproduce the problem using a new stack, or using Max's formula for one, so I think I wrote it thinking about the additional things I noticed replying to Max's post -


Having removed all plugins until I added Andy's, plugins would not have caused these two things. Sorry for the confusion, I'm just so into the spirit of Christmas I guess I felt like giving everyone else my befuddlementbogs wrote: ↑Fri Dec 15, 2017 3:16 pm1 was if you try to paste from your bug report to the name of the p.i., it creates a 'blank' where you can no longer do anything for the name of that object (stack, button, etc).
2 was I couldn't fix it till Lc closed. wierd, since I have 0 problems doing this in earlier Lc's.


Re: go to stack exits handler
Panos has confirmed it is a bug. The "go" command calls the start center, and it should not. He is working on it.
Why that command calls that stack in some cases and not others is still up in the air.
Craig
Why that command calls that stack in some cases and not others is still up in the air.
Craig
Re: go to stack exits handler
Well, that's a weird one. Congrats on finding it, you done good.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com