Problems with Standalone

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

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
stephenmcnutt
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 107
Joined: Fri Nov 10, 2006 8:58 pm
Contact:

Problems with Standalone

Post by stephenmcnutt » Thu Jun 09, 2011 9:44 pm

I’ve got an app I’ve been working with for years. I hadn’t compiled it into a standalone for maybe a year or more. It works fine within LiveCode, but now I can’t get the standalone to work. There are at least two symptoms:

The standalone’s window is cropped short on the bottom. It’s missing about as much as the height of the title bar at the top of the window.

Also, the standalone appears to not be communicating with the data files even though they seem to be in the right place within the standalone OS X package.

I just noticed that my data files have two extensions. They all end in .edb.rev. That can’t be right. They should just end with .edb, right? That’s how they are before I make the standalone. I’ll bet this is the problem. Why would the standalone making process be putting .rev extensions on these data files?

Chopping off the .rev part makes the data files work in the standalone. Is this a bug? I’m using LiveCode 4.5.3 and deploying to Mac OS X.

That still didn’t fix my problem of having the bottom of the standalone window cut off, though.

Thanks,
Steve McNutt

stephenmcnutt
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 107
Joined: Fri Nov 10, 2006 8:58 pm
Contact:

Re: Problems with Standalone

Post by stephenmcnutt » Fri Jun 10, 2011 9:59 pm

Okay, I'm still trying to solve the problem in which the standalone window has the bottom 30 or 40 pixels cut off, and I noticed another anomaly with the standalone: one of the checkboxes appears to be "selected" with the rectangle of black squares around it--as it would appear if I selected it within the LiveCode API in order to edit it.

How can I make sure I have the latest version of the Mac OS X standalone build engine? There used to be a place to download it, but I don't see that anymore.

Please help if you can.

Thanks,
Steve McNutt

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

Re: Problems with Standalone

Post by jacque » Sun Jun 12, 2011 7:06 am

Why would the standalone making process be putting .rev extensions on these data files?
You may have accidentally included them in the stacks pane instead of the files pane in the standalone builder. That's all I can think of. Normally the file names aren't changed.
Okay, I'm still trying to solve the problem in which the standalone window has the bottom 30 or 40 pixels cut off,
I just answered this on the mailing list when someone reposted the question. If you aren't on the list I'll try to find it and copy it here. The short answer is to try turning off the destroystack property of your stacks, which causes this bug. There are other ways to work around it.
How can I make sure I have the latest version of the Mac OS X standalone build engine? There used to be a place to download it, but I don't see that anymore.
You'll need to upgrade. There isn't a separate standalone-building file available. But the two things above should be solveable with your current version, they aren't any different in 4.6.1 -- though it's a worthwhile upgrade regardless, many other bugs have been fixed and features added.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com

Post Reply