Extra 'title bar' in new stack
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
Extra 'title bar' in new stack
Hi everyone,
While writing some code I must have pressed a key combination which accidentally created a new 'title bar' directly under the main one.
This new title bar now appears on any new stack. How can I get rid of it.
Many thanks
While writing some code I must have pressed a key combination which accidentally created a new 'title bar' directly under the main one.
This new title bar now appears on any new stack. How can I get rid of it.
Many thanks
-
- VIP Livecode Opensource Backer
- Posts: 9670
- Joined: Wed May 06, 2009 2:28 pm
- Location: New York, NY
Re: Extra 'title bar' in new stack
AHA.
Finally someone else. I have had this issue for many months; it just happened one day.
If you clear the "resizable" property in the inspector, it goes away. Of course, you may need to change that back and forth during development.
There was much discussion here about this, many thought it had to do with finder tab settings for new windows.
Nope.
Craig
Finally someone else. I have had this issue for many months; it just happened one day.
If you clear the "resizable" property in the inspector, it goes away. Of course, you may need to change that back and forth during development.
There was much discussion here about this, many thought it had to do with finder tab settings for new windows.
Nope.
Craig
Re: Extra 'title bar' in new stack
Thanks Craig
Thats been driving me mad for a day or two. Would love to know that key combination I hit !
Thats been driving me mad for a day or two. Would love to know that key combination I hit !
Re: Extra 'title bar' in new stack
Craig
That works with the stack window but I am also getting it on every other window, dictionary, code editor etc
That works with the stack window but I am also getting it on every other window, dictionary, code editor etc
-
- VIP Livecode Opensource Backer
- Posts: 9670
- Joined: Wed May 06, 2009 2:28 pm
- Location: New York, NY
Re: Extra 'title bar' in new stack
Yep. everything LiveCode, though not the SE. Nothing in other applications, though.
Craig
Craig
-
- VIP Livecode Opensource Backer
- Posts: 9842
- Joined: Sat Apr 08, 2006 7:05 am
- Location: Los Angeles
- Contact:
Re: Extra 'title bar' in new stack
This has been discussed at length, but not to my satisfaction, FWIW.
What you're seeing isn't a title bar per se, but a tab.
You'll see this in any window the OS believes is a "document", which in LiveCode means only toplevel stacks.
But toplevel stacks are used for all sorts of things, only sometimes serving as documents, so this can get confusing quickly.
The confusion is apparently confounded by a design flaw in the OS, where this tab UI is applied to windows with no other tabs, making it as useless as it is visually disorienting.
The part that I find unsatisfying is the proposed "solution": to turn off tabbing in the OS settings.
This is a non-starter for two reasons:
- Roughly 80% of users never modify prefs, so we need to do our best to make sure the defaults provide the best experience for the most people.
- Given that users don't see this in other apps, it seems there must be some sort of flag the application can set to tell the OS that tabs need not be applied to its windows. The core team should find and apply that flag.
I hope someone files a bug report on this, or adds to it if it's in the bug DB already. We simply can't expect users to tolerate bathing required to modify their system settings just for our LiveCode apps.
What you're seeing isn't a title bar per se, but a tab.
You'll see this in any window the OS believes is a "document", which in LiveCode means only toplevel stacks.
But toplevel stacks are used for all sorts of things, only sometimes serving as documents, so this can get confusing quickly.
The confusion is apparently confounded by a design flaw in the OS, where this tab UI is applied to windows with no other tabs, making it as useless as it is visually disorienting.
The part that I find unsatisfying is the proposed "solution": to turn off tabbing in the OS settings.
This is a non-starter for two reasons:
- Roughly 80% of users never modify prefs, so we need to do our best to make sure the defaults provide the best experience for the most people.
- Given that users don't see this in other apps, it seems there must be some sort of flag the application can set to tell the OS that tabs need not be applied to its windows. The core team should find and apply that flag.
I hope someone files a bug report on this, or adds to it if it's in the bug DB already. We simply can't expect users to tolerate bathing required to modify their system settings just for our LiveCode apps.
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
-
- Posts: 627
- Joined: Wed Apr 24, 2013 4:53 pm
- Contact:
Re: Extra 'title bar' in new stack
I brought this up on the LC Gitter chatroom once a long time ago now, but was told then something like "that's just part of the OS" which of course I knew that, but LC's handling of that addition to the OS is very much non-standard and I'd say certainly buggy.FourthWorld wrote: ↑Wed Dec 23, 2020 9:40 pmThis has been discussed at length, but not to my satisfaction, FWIW.
What you're seeing isn't a title bar per se, but a tab.
You'll see this in any window the OS believes is a "document", which in LiveCode means only toplevel stacks.
But toplevel stacks are used for all sorts of things, only sometimes serving as documents, so this can get confusing quickly.
The confusion is apparently confounded by a design flaw in the OS, where this tab UI is applied to windows with no other tabs, making it as useless as it is visually disorienting.
The part that I find unsatisfying is the proposed "solution": to turn off tabbing in the OS settings.
This is a non-starter for two reasons:
- Roughly 80% of users never modify prefs, so we need to do our best to make sure the defaults provide the best experience for the most people.
- Given that users don't see this in other apps, it seems there must be some sort of flag the application can set to tell the OS that tabs need not be applied to its windows. The core team should find and apply that flag.
I hope someone files a bug report on this, or adds to it if it's in the bug DB already. We simply can't expect users to tolerate bathing required to modify their system settings just for our LiveCode apps.
The Show Tabs / Hide Tabs SHOULD be in the View menu, but the OS standard version of the view menu is rebuilt/replaced by LiveCode whenever it becomes the foreground app.
Here is a recipe to get it to show (just now tested with latest LC Indy on macOS 10.14.6):
1) With NO Stack Window selected, click on your Desktop to switch to the Finder.
2) Now switch back to LiveCode as foreground app by clicking the LC icon in the Dock, NOT by clicking on any LC/stack window.
3) Without clicking on any LC Window/Stack/Palette go directly to the view menu and viola, Show/Hide tabs menu items are there.
4) Click on any LC/Stack window, now go back to the View menu, PMOOF! Those menu items vanish.
-
- VIP Livecode Opensource Backer
- Posts: 9670
- Joined: Wed May 06, 2009 2:28 pm
- Location: New York, NY
Re: Extra 'title bar' in new stack
Paul.
I do not see what you are seeing, and your pictures do not show the "show/hide" thing you mentioned. Anyway, nothing changed.
Craig
I do not see what you are seeing, and your pictures do not show the "show/hide" thing you mentioned. Anyway, nothing changed.
Craig
-
- Posts: 627
- Joined: Wed Apr 24, 2013 4:53 pm
- Contact:
Re: Extra 'title bar' in new stack
It's a bit tricky, try it multiple times, and be very quick when bringing up the view menu after you switch back from the Finder (before the LC Engine has a chance to replace the menu)
It's actually "Show Tab Bar" and it becomes "Hide Tab Bar" when Tabs are already showing.
-
- VIP Livecode Opensource Backer
- Posts: 9842
- Joined: Sat Apr 08, 2006 7:05 am
- Location: Los Angeles
- Contact:
Re: Extra 'title bar' in new stack
Anyone here know if there's a bug report filed on this?
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
-
- VIP Livecode Opensource Backer
- Posts: 135
- Joined: Tue Feb 23, 2010 10:53 pm
- Location: Saint Louis, Missouri USA
Re: Extra 'title bar' in new stack
The problem of the "Show Tab Bar" item under the View menu just happened to me, too. I am using LC Indy 9.6.2 (rc 2).
I had just started LC when accidentally I clicked on the View menu and activated the first item (Show Tab Bar). I couldn't get it to go away.
I tried the suggestions above but they didn't work for me.
I began to wonder if the extra tab bar had infected all the LiveCode versions on my system (Mac Mini 2020 - Arm M1, Big Sur 11.1).
I quit out of LC and fired up LC Indy 9.6.2 (rc 1) and could see the tab bar in one of my stacks.
I quickly clicked on the View menu and was then able to see the "Hide Tab Bar" item. Clicking on that cleared up the problem.
Using the Command-Tab keys, I switched to Finder and back to LC where I could see the Show Tab Bar menu under the View menu. After that, I released the mouse which must have then given LC time to replace the menu so the Tab Bar items were not shown again.
Quitting the (rc 1) version and returning to the (rc 2) version, the Tab Bar was gone, fortunately.
I was able to catch this image:
I tried but now I can't build a recipe that reproduces the Tab Bar items. Odd.
If anyone else gets clobbered with this problem try switching to a different version as explained above.
Hope this helps,
Bob
I had just started LC when accidentally I clicked on the View menu and activated the first item (Show Tab Bar). I couldn't get it to go away.
I tried the suggestions above but they didn't work for me.
I began to wonder if the extra tab bar had infected all the LiveCode versions on my system (Mac Mini 2020 - Arm M1, Big Sur 11.1).
I quit out of LC and fired up LC Indy 9.6.2 (rc 1) and could see the tab bar in one of my stacks.
I quickly clicked on the View menu and was then able to see the "Hide Tab Bar" item. Clicking on that cleared up the problem.
Using the Command-Tab keys, I switched to Finder and back to LC where I could see the Show Tab Bar menu under the View menu. After that, I released the mouse which must have then given LC time to replace the menu so the Tab Bar items were not shown again.
Quitting the (rc 1) version and returning to the (rc 2) version, the Tab Bar was gone, fortunately.
I was able to catch this image:
I tried but now I can't build a recipe that reproduces the Tab Bar items. Odd.
If anyone else gets clobbered with this problem try switching to a different version as explained above.
Hope this helps,
Bob
-
- Posts: 627
- Joined: Wed Apr 24, 2013 4:53 pm
- Contact:
Re: Extra 'title bar' in new stack
I actually WANT that tabs menu item to be there and be functional, I'm looking into it.