Anything beyond the basics in using the LiveCode language. Share your handlers, functions and magic here.
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
-
dunbarx
- VIP Livecode Opensource Backer

- Posts: 10305
- Joined: Wed May 06, 2009 2:28 pm
Post
by dunbarx » Thu Jun 04, 2020 7:23 pm
Jacque.
Apple changed the system window prefs when it started happening. I've never seen it but there's a toggle somewhere to turn it off.
But then it would not be application dependent, no? Only LC does this, among the dozen or so apps I use every day on my iMac.
Craig
-
anmldr
- Posts: 459
- Joined: Tue Sep 11, 2012 11:13 pm
Post
by anmldr » Thu Jun 04, 2020 10:12 pm
This is for someone that may understand it better than me...
https://musescore.org/en/node/269212
This is what I think is relevant (LiveCode or other apps with the same problem):
The application should explicitly opt-out of automatic window tabbing by calling [NSWindow setAllowsAutomaticWindowTabbing:NO]."
Linda
-
FourthWorld
- VIP Livecode Opensource Backer

- Posts: 10043
- Joined: Sat Apr 08, 2006 7:05 am
-
Contact:
Post
by FourthWorld » Thu Jun 04, 2020 10:28 pm
anmldr wrote: ↑Thu Jun 04, 2020 10:12 pm
This is for someone that may understand it better than me...
https://musescore.org/en/node/269212
This is what I think is relevant (LiveCode or other apps with the same problem):
The application should explicitly opt-out of automatic window tabbing by calling [NSWindow setAllowsAutomaticWindowTabbing:NO]."
Thank you, Linda. That would seem a helpful addition to the bug report on this. Anyone here know the bug number or title offhand?
-
PBH
- VIP Livecode Opensource Backer

- Posts: 132
- Joined: Sun Feb 20, 2011 4:26 pm
-
Contact:
Post
by PBH » Fri Jun 05, 2020 1:35 am
FourthWorld wrote: ↑Thu Jun 04, 2020 10:28 pm
Anyone here know the bug number or title offhand?
Panos posted it earlier in this thread:
https://quality.livecode.com/show_bug.cgi?id=21190
For anybody struggling with this, the workaround that I posted earlier does work, but if you use multiple versions of LC you will need to define the shortcut for All Applications. At least it may help until the problem is fixed.
Paul
-
FourthWorld
- VIP Livecode Opensource Backer

- Posts: 10043
- Joined: Sat Apr 08, 2006 7:05 am
-
Contact:
Post
by FourthWorld » Fri Jun 05, 2020 1:49 am
Thanks, Paul. That report is flagged as "RESOLVED NOT_A_BUG", but a lot of people are seeing this with LC apps and not with other apps. Is Panos' analysis correct, or might we find useful guidance at the link Linda provided?
-
PBH
- VIP Livecode Opensource Backer

- Posts: 132
- Joined: Sun Feb 20, 2011 4:26 pm
-
Contact:
Post
by PBH » Fri Jun 05, 2020 2:23 am
I have to go down to the Fire Dept right now, but I will look into it in the morning and report back.
Paul
-
jameshale
- VIP Livecode Opensource Backer

- Posts: 489
- Joined: Thu Sep 04, 2008 6:23 am
Post
by jameshale » Fri Jun 05, 2020 3:06 am
Apple did change the system to enable apps to open in tabs rather than new windows (when you could open multiple windows in the app.)
I initially thought this was a great idea and enabled this feature only to find the same issue as mentioned, not only in LC but a few other apps I used where I would have multiple "main" windows open (like multiple graphics in a graphics app.)
It was introduced at the time when the OS allowed full-screen apps, obviously as a way of being able to move among the open windows of an app.
The solution was to turn off this "feature", at least for the way I used my Mac, which was not in full screen.
Go to the Systems prefs->Dock pref pane.
In the middle of the pane is the option "Prefer tabs when opening documents:" with a pop up of options; "Always, in Full Screen Only, "Manually"
I set mine to "In Full Screen Only" and the issue disappeared.
Note selecting "Manually" may not be the best option as you may inadvertently activate the feature.
Note: This is a system-wide change.
I guess from a Mac OS point of view, each stack (for the same type) is another App window and so it adds them as tabbed windows.
If I open a stack and then the script editor, as far as the OS is concerned I have opened two windows in my app and so they are combined into a single tabbed window. I guess palettes etc are considered differently.
P.S. I am running Catalina 10.15.6 beta. I can confirm this happens in other apps besides LC if the "Always" option is selected. It is not a bug in LC.
The full-screen mode was introduced in "Lion", not sure when the option to open in tabs rather than new windows was introduced.
James
-
Attachments
-

-
anmldr
- Posts: 459
- Joined: Tue Sep 11, 2012 11:13 pm
Post
by anmldr » Fri Jun 05, 2020 5:00 pm
Yes, and I have tried your suggestions and it still does not work for me. Neither did creating the menu shortcut as suggested here as well.
Linda
-
Klaus
- Posts: 14177
- Joined: Sat Apr 08, 2006 8:41 am
-
Contact:
Post
by Klaus » Fri Jun 05, 2020 5:35 pm
Hi Linda,
I did not mean that this would help in ANY case, just that I mentioned this already
two years ago in this very thread on the previous (sic!

) page.
Best
Klaus
-
anmldr
- Posts: 459
- Joined: Tue Sep 11, 2012 11:13 pm
Post
by anmldr » Fri Jun 05, 2020 5:57 pm
"Hot diggidy dog"!! Don't know if that means anything worldwide but it means that I am surprised and happy.
I downloaded the new Indy 9.6.0. This happens to be after I tried the "shortcut" suggestion. The shortcut did not do anything in LC 9.5.1 as I indicated in an earlier post. But, after installing 9.6.0, I spotted the shortcut in the menu, took a screenshot just in case I needed it as proof, then clicked on it. The double title bars are now gone. Hopefully forever.
Linda
-
Klaus
- Posts: 14177
- Joined: Sat Apr 08, 2006 8:41 am
-
Contact:
Post
by Klaus » Fri Jun 05, 2020 6:43 pm
Great to hear!

-
richmond62
- Livecode Opensource Backer

- Posts: 10078
- Joined: Fri Feb 19, 2010 10:17 am
Post
by richmond62 » Fri Jun 05, 2020 7:45 pm
Klaus wrote: ↑Fri Jun 05, 2020 6:43 pm
Great to hear!

'Hear' ?
-
Klaus
- Posts: 14177
- Joined: Sat Apr 08, 2006 8:41 am
-
Contact:
Post
by Klaus » Fri Jun 05, 2020 7:50 pm
I hired a guy who reads the postings aloud if I am not in the mood for reading, wise guy!
