Disappearing Windows in LiveCode 10 on OSX Sonoma

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

Post Reply
tcb
Posts: 3
Joined: Mon Aug 26, 2013 6:49 pm

Disappearing Windows in LiveCode 10 on OSX Sonoma

Post by tcb » Tue Oct 22, 2024 5:37 pm

Am working through new and legacy LiveCode tutorials and find any time I click outside the active stack window, say to pause the tutorial video, my Tools and Inspector windows disappear whilst stack window remains.

How do I get Livecode windows to stay open unless I explicitly close them manually?

I've unselected BACKDROP but that doesn't seem to help.

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

Re: Disappearing Windows in LiveCode 10 on OSX Sonoma

Post by dunbarx » Tue Oct 22, 2024 6:03 pm

Hi.

An interesting question. This is "normal" behavior, I think; there is nothing in the User Guide that addresses this. There are stacks (everything is LC is a stack) that do indeed stay open when switching to other apps, like the "Preferences" stack.

But it means stacks could stay open. There must be a property that determines that, likely somewhere in the engine code.

Anyone know?

Craig

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

Re: Disappearing Windows in LiveCode 10 on OSX Sonoma

Post by jacque » Wed Oct 23, 2024 6:31 pm

It's probably the hidePalettes property which is is set to true on OS X.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com

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

Re: Disappearing Windows in LiveCode 10 on OSX Sonoma

Post by dunbarx » Wed Oct 23, 2024 6:56 pm

Jacque.

Nailed it, again.

I searched everywhere for "show". figuring that if there was such a property at all, it would contain that keyword and would need to be set to "true". It never occurred to me to look for "hide", to find a property that needed to be set to "false". :roll:

Craig

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

Re: Disappearing Windows in LiveCode 10 on OSX Sonoma

Post by dunbarx » Wed Oct 23, 2024 6:59 pm

And of course I never heard of it.

But I immediately set it to "false", as I often want to see stuff in LC while I am in another app, like textEdit, which might contain information I want to modify or include in a stack I am working on.

Note that the property, though global, does not survive sessions.

Craig

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

Re: Disappearing Windows in LiveCode 10 on OSX Sonoma

Post by dunbarx » Wed Oct 23, 2024 7:10 pm

I have always found it odd that certain global properties are set differently on different platforms. The "hidePalettes" property default is "true" on Mac OS, but "false" on Windows and Linux.

For what possible reason?

Craig

FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10043
Joined: Sat Apr 08, 2006 7:05 am
Contact:

Re: Disappearing Windows in LiveCode 10 on OSX Sonoma

Post by FourthWorld » Wed Oct 23, 2024 7:35 pm

Is there a Mac app that doesn't hide its palettes when it goes into the background?

Apple's HIG suggests they should.
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn

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

Re: Disappearing Windows in LiveCode 10 on OSX Sonoma

Post by dunbarx » Wed Oct 23, 2024 11:13 pm

Is there a Mac app that doesn't hide its palettes when it goes into the background?
Richard.

Are you saying this is really not advisable? Or this is extraordinary flexibility courtesy of LC? :D

Craig

tcb
Posts: 3
Joined: Mon Aug 26, 2013 6:49 pm

Re: Disappearing Windows in LiveCode 10 on OSX Sonoma

Post by tcb » Thu Oct 24, 2024 12:39 am

dunbarx wrote:
Wed Oct 23, 2024 6:59 pm
But I immediately set it to "false", ........
Where did you go in LiveCode 10 to change it to false?

FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10043
Joined: Sat Apr 08, 2006 7:05 am
Contact:

Re: Disappearing Windows in LiveCode 10 on OSX Sonoma

Post by FourthWorld » Thu Oct 24, 2024 1:41 am

Apple's HIG suggests palettes be hidden when the app goes to the background.

MC/Rev/LC is following spec.
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn

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

Re: Disappearing Windows in LiveCode 10 on OSX Sonoma

Post by jacque » Thu Oct 24, 2024 2:33 am

tcb wrote:
Thu Oct 24, 2024 12:39 am
dunbarx wrote:
Wed Oct 23, 2024 6:59 pm
But I immediately set it to "false", ........
Where did you go in LiveCode 10 to change it to false?
I don't think it's available in the IDE, but you can use the message box or insert the command into a script in your stack.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com

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

Re: Disappearing Windows in LiveCode 10 on OSX Sonoma

Post by dunbarx » Thu Oct 24, 2024 4:28 am

@ tcb. It is a global property that can be set in any way you prefer.
I don't think it's available in the IDE,
Jacque, what do you mean? That it has to be set "manually", as you mentioned, that is, not a LC preference or a switch in the inspector?

Craig

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

Re: Disappearing Windows in LiveCode 10 on OSX Sonoma

Post by jacque » Thu Oct 24, 2024 9:36 am

Sorry, I wasn't clear. I meant there's no graphical way to change it in the IDE, it has to be scripted.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com

Post Reply