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: 442
Joined: Mon Aug 13, 2007 4:44 pm
Location: Eccles UK
Contact:

Two (Stacked) Title Bars in OSX

Post by andyh1234 » Fri Nov 09, 2018 10:43 pm

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: 9645
Joined: Wed May 06, 2009 2:28 pm
Location: New York, NY

Re: Two (Stacked) Title Bars in OSX

Post by dunbarx » Fri Nov 09, 2018 11:11 pm

Two title bars?

That is decorations on steroids.

Can you post a screen shot?

Craig Newman

Klaus
Posts: 13820
Joined: Sat Apr 08, 2006 8:41 am
Location: Germany
Contact:

Re: Two (Stacked) Title Bars in OSX

Post by Klaus » Fri Nov 09, 2018 11:49 pm

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: 442
Joined: Mon Aug 13, 2007 4:44 pm
Location: Eccles UK
Contact:

Re: Two (Stacked) Title Bars in OSX

Post by andyh1234 » Sat Nov 10, 2018 1:52 pm

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: 9645
Joined: Wed May 06, 2009 2:28 pm
Location: New York, NY

Re: Two (Stacked) Title Bars in OSX

Post by dunbarx » Sat Nov 10, 2018 5:23 pm

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: 442
Joined: Mon Aug 13, 2007 4:44 pm
Location: Eccles UK
Contact:

Re: Two (Stacked) Title Bars in OSX

Post by andyh1234 » Sat Nov 10, 2018 9:56 pm

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

Return to “Mac OS”