What happen the stack handlers "Open" and "PreOpen"?
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
What happen the stack handlers "Open" and "PreOpen"?
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
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
Last edited by DR White on Sun May 24, 2020 12:09 pm, edited 1 time in total.
Re: What happen the tack handlers "Open" and "PreOpen"?
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
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
https://alternatic.ch
Re: What happen the stack handlers "Open" and "PreOpen"?
Humm.
I just opened a new stack and I am not seeing in my Handler List
LC 9.6.0 RC 2?
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"?
Strange
What happens if you type instead ?
Does it work as expected ?
Jean-Marc
What happens if you type instead ?
Does it work as expected ?
Jean-Marc
https://alternatic.ch
Re: What happen the stack handlers "Open" and "PreOpen"?
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
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"?
Indeed, but it seems this appear in 9.0.6 rc2.Just thinking that for beginners it is a little confusing
A bug report to quality center would be appreciated
https://alternatic.ch
Re: What happen the stack handlers "Open" and "PreOpen"?
I can't remember the link
Re: What happen the stack handlers "Open" and "PreOpen"?
I confirm that preopenstack and openstack doesn't appear LC 9.0.6 rc2
https://alternatic.ch
Re: What happen the stack handlers "Open" and "PreOpen"?
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.
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"?
LC says this behavior is expected.
Re: What happen the stack handlers "Open" and "PreOpen"?
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.
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.

-
- Livecode Opensource Backer
- Posts: 10099
- Joined: Fri Feb 19, 2010 10:17 am
Re: What happen the stack handlers "Open" and "PreOpen"?
Every time I have used preOpenStack and openStack they have not worked very well, so now
I tend to go for preOpenCard and openCard.
I tend to go for preOpenCard and openCard.

Re: What happen the stack handlers "Open" and "PreOpen"?
LOL, well, you can't be much more vague than that 
Care to elaborate ?

Care to elaborate ?

-
- Livecode Opensource Backer
- Posts: 10099
- Joined: Fri Feb 19, 2010 10:17 am
Re: What happen the stack handlers "Open" and "PreOpen"?
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.
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.