Page 1 of 1

Space Oddity

Posted: Thu Jan 16, 2020 3:52 pm
by dunbarx
Attached is a small stack.

If one sets the "resizable" in the inspector (coming from the state where resizable is not set), and then adjusts the slider, a series of spurious images appears in the successive renderings of the field. If one clears the "resizable" in the inspector, the field adjusts its height normally.

Doing the same thing by clicking the "reSize" button, does not show this difference. All resizing seems normal.

1- What is going on with these renderings?
2- Why does the button act differently than the inspector?
3- Am I again the only one?

Mac OS 10.13.4. LC 9.5.1

Craig
Oddity.livecode.zip
(1.13 KiB) Downloaded 11 times

Re: Space Oddity

Posted: Thu Jan 16, 2020 4:07 pm
by Klaus
Hi Craig,

just teseted, resizable or not, works as advertized, no "ghosting" or whatever.
Mac OS 10.14.6 and LC 9.5.1 on a Mac Mini late 2014.


Best

Klaus

Re: Space Oddity

Posted: Thu Jan 16, 2020 6:06 pm
by dunbarx
Klaus.

Thanks for testing. Attached is what I see.
Screen Shot 2020-01-16 at 12.06.19 PM.zip
(10.88 KiB) Downloaded 16 times
You may have noticed the double header, a condition that popped up on my machine a few months ago. This goes away when resizable is set, and reappears when cleared. Obviously both are peculiar to my machine.

Craig

Re: Space Oddity

Posted: Thu Jan 16, 2020 7:23 pm
by jmburnod
Hi,
Am I again the only one?
A new club :D
Works as expected.
Mac OS 10.13 and LC 9.5.0
Best
Jean-Marc

Re: Space Oddity

Posted: Thu Jan 16, 2020 7:28 pm
by Klaus
Well, Craig, looks like you are DOOMED! :D

Re: Space Oddity

Posted: Thu Jan 16, 2020 7:54 pm
by FourthWorld
dunbarx wrote:
Thu Jan 16, 2020 6:06 pm
Klaus.

Thanks for testing. Attached is what I see.

Screen Shot 2020-01-16 at 12.06.19 PM.zip

You may have noticed the double header, a condition that popped up on my machine a few months ago. This goes away when resizable is set, and reappears when cleared. Obviously both are peculiar to my machine.
Does the issue recur when the tab is removed? (And why does macOS insist on putting a tab in place when there are no other tabs?)

Re: Space Oddity

Posted: Fri Jan 17, 2020 1:17 am
by dunbarx
Richard.
Does the issue recur when the tab is removed? (And why does macOS insist on putting a tab in place when there are no other tabs?)
I had reported this tab thing a while ago. It is completely dependent on the state of the "resizable" property. Except for the slight bit of vertical real estate it uses, there are no issues. But it comes and goes all day as the property changes.

Craig

Re: Space Oddity

Posted: Sat Jan 18, 2020 12:11 am
by jacque
It could be that you have a system pref set to open documents in tabs. Choose "Manually" to stop the behavior.

Use tabs in windows on Mac

On your Mac, choose Apple menu > System Preferences, then click Dock.
Click the “Prefer tabs when opening documents” pop-up menu, then choose an option—Always, In Full Screen Only, or Manually.

https://www.google.com/url?sa=t&rct=j&q ... NmTFOaK4P1

Re: Space Oddity

Posted: Sat Jan 18, 2020 6:18 am
by dunbarx
Jacque.

Thanks. Will check into that as soon as I get back to my office on Monday. But I have no idea how that could have been changed. Can you see the same thing if you set that preference on your machine? For me, it only happens in LC, nowhere else. This seems odd to me, since your idea is an OS, not a LC thing.

Craig

Re: Space Oddity

Posted: Mon Jan 20, 2020 3:20 pm
by dunbarx
Jacque.

That setting was always "Manually". No change when fooling around with it.

The oddity is not really a tab thing, it is a double titleBar thing:
ddd.png
ddd.png (11.29 KiB) Viewed 316 times
As I said, this is dependent on the "resizable" property. If set, there is only one titleBar. If cleared, there are two. :shock:

Craig

Re: Space Oddity

Posted: Mon Jan 20, 2020 6:16 pm
by FourthWorld
dunbarx wrote:
Mon Jan 20, 2020 3:20 pm
Jacque.

That setting was always "Manually". No change when fooling around with it.

The oddity is not really a tab thing, it is a double titleBar thing:
ddd.png
Apple calls that a tab. Yes, it looks like a replicated title bar, one of many reasons that showing a tab when a window has only one is a poor choice on their part. But taste aside, it's a tab.
As I said, this is dependent on the "resizable" property. If set, there is only one titleBar. If cleared, there are two. :shock:
Have you considered the possibility that the recipe is the result of an interaction between the resizable property and the presence of Apple's tab?

Re: Space Oddity

Posted: Fri Jan 31, 2020 8:24 pm
by dunbarx
Richard.
Have you considered the possibility that the recipe is the result of an interaction between the resizable property and the presence of Apple's tab?
I am willing to consider anything. I just wonder why I am the only one who is seeing it.

If I drag such a window around the screen, it reduces in size while the drag is in progress, and is restored when the drag ends. If there is only one "tab", that is, resizable is set to "false", the window drags normally.

OK, fine. But did I mention I wonder why I am the only one?

Craig

Re: Space Oddity

Posted: Fri Jan 31, 2020 9:01 pm
by FourthWorld
I'm guessing it's because most LC users have that Apple option turned off. FWIW I've never seen their wacko new Tabs at all, and I don't recall turning it off.