What happen the stack handlers "Open" and "PreOpen"?

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

DR White
Posts: 718
Joined: Fri Aug 23, 2013 12:29 pm

What happen the stack handlers "Open" and "PreOpen"?

Post by DR White » Sun May 24, 2020 10:53 am

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
Last edited by DR White on Sun May 24, 2020 12:09 pm, edited 1 time in total.

jmburnod
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 2729
Joined: Sat Dec 22, 2007 5:35 pm
Contact:

Re: What happen the tack handlers "Open" and "PreOpen"?

Post by jmburnod » Sun May 24, 2020 11:57 am

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
https://alternatic.ch

DR White
Posts: 718
Joined: Fri Aug 23, 2013 12:29 pm

Re: What happen the stack handlers "Open" and "PreOpen"?

Post by DR White » Sun May 24, 2020 12:15 pm

Humm.

I just opened a new stack and I am not seeing in my Handler List



LC 9.6.0 RC 2?

jmburnod
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 2729
Joined: Sat Dec 22, 2007 5:35 pm
Contact:

Re: What happen the stack handlers "Open" and "PreOpen"?

Post by jmburnod » Sun May 24, 2020 12:23 pm

Strange
What happens if you type instead ?
Does it work as expected ?
Jean-Marc
https://alternatic.ch

DR White
Posts: 718
Joined: Fri Aug 23, 2013 12:29 pm

Re: What happen the stack handlers "Open" and "PreOpen"?

Post by DR White » Sun May 24, 2020 12:38 pm

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

jmburnod
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 2729
Joined: Sat Dec 22, 2007 5:35 pm
Contact:

Re: What happen the stack handlers "Open" and "PreOpen"?

Post by jmburnod » Sun May 24, 2020 1:30 pm

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
https://alternatic.ch

DR White
Posts: 718
Joined: Fri Aug 23, 2013 12:29 pm

Re: What happen the stack handlers "Open" and "PreOpen"?

Post by DR White » Sun May 24, 2020 2:12 pm

I can't remember the link

bogs
Posts: 5480
Joined: Sat Feb 25, 2017 10:45 pm

Re: What happen the stack handlers "Open" and "PreOpen"?

Post by bogs » Sun May 24, 2020 2:41 pm

quality.livecode.com/
Image

jmburnod
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 2729
Joined: Sat Dec 22, 2007 5:35 pm
Contact:

Re: What happen the stack handlers "Open" and "PreOpen"?

Post by jmburnod » Sun May 24, 2020 3:28 pm

I confirm that preopenstack and openstack doesn't appear LC 9.0.6 rc2
https://alternatic.ch

DR White
Posts: 718
Joined: Fri Aug 23, 2013 12:29 pm

Re: What happen the stack handlers "Open" and "PreOpen"?

Post by DR White » Mon May 25, 2020 2:21 pm

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.

DR White
Posts: 718
Joined: Fri Aug 23, 2013 12:29 pm

Re: What happen the stack handlers "Open" and "PreOpen"?

Post by DR White » Mon May 25, 2020 9:57 pm

LC says this behavior is expected.
Attachments
LC 96. rc2 Bug_Not.png

bogs
Posts: 5480
Joined: Sat Feb 25, 2017 10:45 pm

Re: What happen the stack handlers "Open" and "PreOpen"?

Post by bogs » Tue May 26, 2020 9:07 am

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.
Image

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 10099
Joined: Fri Feb 19, 2010 10:17 am

Re: What happen the stack handlers "Open" and "PreOpen"?

Post by richmond62 » Tue May 26, 2020 9:45 am

Every time I have used preOpenStack and openStack they have not worked very well, so now
I tend to go for preOpenCard and openCard. 8)

bogs
Posts: 5480
Joined: Sat Feb 25, 2017 10:45 pm

Re: What happen the stack handlers "Open" and "PreOpen"?

Post by bogs » Tue May 26, 2020 10:10 am

LOL, well, you can't be much more vague than that :P

Care to elaborate ?
Image

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 10099
Joined: Fri Feb 19, 2010 10:17 am

Re: What happen the stack handlers "Open" and "PreOpen"?

Post by richmond62 » Tue May 26, 2020 10:30 am

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.

Post Reply