Locked stack??

Anything beyond the basics in using the LiveCode language. Share your handlers, functions and magic here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
dunbarx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10013
Joined: Wed May 06, 2009 2:28 pm

Locked stack??

Post by dunbarx » Tue Nov 05, 2024 3:45 pm

I have a stack of one card that has several scrollable fields and a few buttons. Nothing fancy about any of those controls. The stack is a year old.

All of a sudden, though each of the fields can be both edited and scrolled by hand, and each can be selected, resized and moved around, nothing else responds. I cannot open the message box, add a new button, etc. The "Object" menu is completely disabled, though it does not show any change. No other menu works at all, though the submenus for each do appear. I cannot even close the stack or quit LC itself; I have to force quit in order to get out of it.

It is almost as if messages are blocked, though they are not, but that would not account for some of the other behaviors I see. All other stacks work normally. Restarting LC or the machine makes no difference.

The stack is oddly corrupted, unless I am missing something. I can send it to anyone who asks, though I am not sure I would want such a thing on my machine.

Craig

jacque
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 7321
Joined: Sat Apr 08, 2006 8:31 pm
Contact:

Re: Locked stack??

Post by jacque » Wed Nov 06, 2024 6:59 pm

It sounds like a frontscript. Try locking messages in the toolbar before opening the stack and see if that works. If so, scan the scripts for a frontscript, or anything else that might interfere.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com

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

Re: Locked stack??

Post by richmond62 » Wed Nov 06, 2024 7:14 pm

You could try opening it with "an alternative IDE", then performing a 'Save As' in that "alternative IDE",
and then open the new version in LiveCode.

Odd as that may sound, it has saved me 3 times in the last 8 months.

dunbarx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10013
Joined: Wed May 06, 2009 2:28 pm

Re: Locked stack??

Post by dunbarx » Wed Nov 06, 2024 8:13 pm

Jacque,

Locking messages before opening changes nothing.

I have played with front and backScripts, long ago, but neither of those are present in this stack. This must be something in the stack itself, because I can open others which all work just fine. Interestingly, if any other stack is open and in front, since all the menus there are intact, CMD-Q quits LC just fine.

Richmond.

I recall a discussion of these alternative IDE's, but I do not know what they are. You do not mean another instance of LC, do you?

Craig

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

Re: Locked stack??

Post by richmond62 » Wed Nov 06, 2024 9:16 pm

You do not mean another instance of LC, do you?
No, I don't. But I have been asked not to name it here.

dunbarx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10013
Joined: Wed May 06, 2009 2:28 pm

Re: Locked stack??

Post by dunbarx » Wed Nov 06, 2024 10:23 pm

Ah, now I remember a little. Another venue. Not interested in that experiment. I will chalk this one up as just another of my usual indescribable issues.

Craig

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

Re: Locked stack??

Post by richmond62 » Thu Nov 07, 2024 12:06 pm

Not interested in that experiment.
Even at the risk of appearing narrow-minded?

That is most definitely not an experiment.

dunbarx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10013
Joined: Wed May 06, 2009 2:28 pm

Re: Locked stack??

Post by dunbarx » Thu Nov 07, 2024 3:05 pm

Richmond.

How will, regardless of the outcome, migrating my stack to that other place tell me anything? Maybe I do not know what exactly goes on over there?

Craig

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

Re: Locked stack??

Post by richmond62 » Thu Nov 07, 2024 4:06 pm

Ah: good point.

I thought you were ONLY interested in making the problem go away: NOT understanding what was causing it.

dunbarx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10013
Joined: Wed May 06, 2009 2:28 pm

Re: Locked stack??

Post by dunbarx » Thu Nov 07, 2024 6:31 pm

Richmond.

I would be happy to learn how to fix my stack. I can access its data, but that is all. It is as if messages were BEYOND VERY locked. All other stacks work fine, of course, which makes me believe it is a corruption of the stack itself.

Craig

jacque
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 7321
Joined: Sat Apr 08, 2006 8:31 pm
Contact:

Re: Locked stack??

Post by jacque » Thu Nov 07, 2024 7:01 pm

I'd look for any mouse handlers that may be blocking. I agree there's something in the scripts that interfere. Comment out various suspicious parts to see if you can find it.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com

dunbarx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10013
Joined: Wed May 06, 2009 2:28 pm

Re: Locked stack??

Post by dunbarx » Thu Nov 07, 2024 10:26 pm

Jacque. Great idea, but, you see, when I tried that of course I could not even open the message box.

I thought I would be clever, go to another stack, which you recall works just fine, open msg, and then go back to the weird stack. But when I got there I forgot that nothing works. So then I was really proud of myself when I went back to the working stack, and tried to open the card script of the weird stack from there.

Just guess what did not happen.

Craig

dunbarx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10013
Joined: Wed May 06, 2009 2:28 pm

Re: Locked stack??

Post by dunbarx » Thu Nov 07, 2024 10:31 pm

Jacque, Richmond,

I cannot prove this, even to myself, being locked out, but the functionality of the weird stack is so simple, residing purely in the scripts of a few buttons, that I do not believe that is the cause.

Recall that this stack worked just fine for many months, and only when I opened it again was it not responsive. The "object" menu will not even open, and though all other menus open, no action of any of the menuItems works.

Recall that all the fields are accessible; they scroll, are ostensibly editable, though nothing can be saved or even copied, and can be moved and resized. So certain mouse and keyboard related actions are allowed, which is odd.

It's the stack, all right, but something deeper and more sinister than some handler trapping and burying, what, every possible message? Including select OS managed messages?

Craig

jacque
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 7321
Joined: Sat Apr 08, 2006 8:31 pm
Contact:

Re: Locked stack??

Post by jacque » Thu Nov 07, 2024 11:19 pm

That's too weird. I'd be tempted to send it to support and see if they know what's wrong. Or send it to me and I'll see if it works here, I'm still running an older Mac OS.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com

Post Reply

Return to “Talking LiveCode”