Page 1 of 2
What happen the stack handlers "Open" and "PreOpen"?
Posted: Sun May 24, 2020 10:53 am
by DR White
In LC 9.6 stack handlers "Open" and "PreOpen are no longer on the pick list and now there is one called "Startup".
What is the reason for the change and does "Startup" now include both stack handlers "Open" and "PreOpen?
Where do I set my opening parameters? I am guessing "Startup".
Thanks,
David
Re: What happen the tack handlers "Open" and "PreOpen"?
Posted: Sun May 24, 2020 11:57 am
by jmburnod
Hi David,
Do you mean preopenstack and openstack ?
No change in my LiveCode 9.6.0 (rc 1) i can see preopenstack and openstack on the pick list.
Best regards
Jean-Marc
Re: What happen the stack handlers "Open" and "PreOpen"?
Posted: Sun May 24, 2020 12:15 pm
by DR White
Humm.
I just opened a new stack and I am not seeing in my Handler List
LC 9.6.0 RC 2?
Re: What happen the stack handlers "Open" and "PreOpen"?
Posted: Sun May 24, 2020 12:23 pm
by jmburnod
Strange
What happens if you type instead ?
Does it work as expected ?
Jean-Marc
Re: What happen the stack handlers "Open" and "PreOpen"?
Posted: Sun May 24, 2020 12:38 pm
by DR White
Typing in "on PreOpenStack" seems to work as normal.
Just thinking that for beginners it is a little confusing, but not a big deal for me.
Just thought I would ask.
Thanks for your help,
David
Re: What happen the stack handlers "Open" and "PreOpen"?
Posted: Sun May 24, 2020 1:30 pm
by jmburnod
Just thinking that for beginners it is a little confusing
Indeed, but it seems this appear in 9.0.6 rc2.
A bug report to quality center would be appreciated
Re: What happen the stack handlers "Open" and "PreOpen"?
Posted: Sun May 24, 2020 2:12 pm
by DR White
I can't remember the link
Re: What happen the stack handlers "Open" and "PreOpen"?
Posted: Sun May 24, 2020 2:41 pm
by bogs
quality.livecode.com/
Re: What happen the stack handlers "Open" and "PreOpen"?
Posted: Sun May 24, 2020 3:28 pm
by jmburnod
I confirm that preopenstack and openstack doesn't appear LC 9.0.6 rc2
Re: What happen the stack handlers "Open" and "PreOpen"?
Posted: Mon May 25, 2020 2:21 pm
by DR White
I filed a bug report:
Bug 22747 - In LC 9.0.6 rc2 all the Stack handlers (including Open and PreOpen) are not showing up Stack handler pick list.
Re: What happen the stack handlers "Open" and "PreOpen"?
Posted: Mon May 25, 2020 9:57 pm
by DR White
LC says this behavior is expected.
Re: What happen the stack handlers "Open" and "PreOpen"?
Posted: Tue May 26, 2020 9:07 am
by bogs
From a support point of view, I can see why they might have gone that route. I think it has been for a long time the question of the best place for those particular messages to get handled, due to the way the path works.
New people to Lc *might* wind up less confused, and longer time users will probably just write them where they want them.
Of course, that assumes a new user is going to some how know about them, know why locating one in the main stack would be maybe not optimal, etc., and in the mean time you've confused everyone else that has been using the language more than say, 1 year.
Re: What happen the stack handlers "Open" and "PreOpen"?
Posted: Tue May 26, 2020 9:45 am
by richmond62
Every time I have used
preOpenStack and
openStack they have not worked very well, so now
I tend to go for
preOpenCard and
openCard.

Re: What happen the stack handlers "Open" and "PreOpen"?
Posted: Tue May 26, 2020 10:10 am
by bogs
LOL, well, you can't be much more vague than that
Care to elaborate ?
Re: What happen the stack handlers "Open" and "PreOpen"?
Posted: Tue May 26, 2020 10:30 am
by richmond62
They just don't work, while preOpen and open in a card do.
Err . . . possibly the LiveCode 'thang' has become so complicated that loading
it into the memory means there is some sort of problem with doing stuff before the stack is displayed on screen.