Two (Stacked) Title Bars in OSX

Deploying to Mac OS? Ask Mac OS specific questions here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
andyh1234
Posts: 476
Joined: Mon Aug 13, 2007 4:44 pm
Contact:

Two (Stacked) Title Bars in OSX

Post by andyh1234 »

I've been away for a while but just jumped back into the latest version of LiveCode and all of my stacks (new and existing) on OS-X have two title bars, one on top of the other.

If I modify the window and remove the 'close' decoration I can get rid of the lower title bar, but of course, I lose the red 'x' close as well and that would render the app inadmissible at the mac app store.

Does anyone have any ideas what might cause this and suggest any code to remove the second lower bar as it is daft?

Windows apps are fine, they just have one bar.

Thanks

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

Re: Two (Stacked) Title Bars in OSX

Post by dunbarx »

Two title bars?

That is decorations on steroids.

Can you post a screen shot?

Craig Newman
Klaus
Posts: 14324
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: Two (Stacked) Title Bars in OSX

Post by Klaus »

Hi Andy,

this is a macOS setting:
(translated from a german system, so it might read a bit different on your machine)
System Settings -> Dock -> Prefer tabs when opening documents
I set it to -> Manually
after i also experienced this scary thing effect. :D


Best

Klaus
andyh1234
Posts: 476
Joined: Mon Aug 13, 2007 4:44 pm
Contact:

Re: Two (Stacked) Title Bars in OSX

Post by andyh1234 »

Thanks Klaus.

The issue also seems to disappear when an app is compiled so it is just annoying, nothing to worry about after all.
dunbarx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10501
Joined: Wed May 06, 2009 2:28 pm

Re: Two (Stacked) Title Bars in OSX

Post by dunbarx »

Huh?

Please tell me again, how does one, assuming this is an option, stack two titleBars, one above the other?

What has this to do with the dock?

Craig
andyh1234
Posts: 476
Joined: Mon Aug 13, 2007 4:44 pm
Contact:

Re: Two (Stacked) Title Bars in OSX

Post by andyh1234 »

It's a bug as far as I can see to do with the tab bars in High Sierra.

The tab bar is drawn even though it's not needed in the development environment and it has the same text in it as the top title bar giving the effect of two title bars at the top of the app.

In the compiled version the tab bar does not show so all is good, I'm just ignoring it in the dev environment.
Post Reply