MacOS 14 (Sonoma)

All flavors welcome.
Forum rules
Be kind.
User avatar
tperry2x
Posts: 1555
Joined: Tue Dec 21, 2021 9:10 pm
Location: Britain (Previously known as Great Britain)
Contact:

Re: MacOS 14 (Sonoma)

Post by tperry2x »

Yes, thought so...
a.png
a.png (318.08 KiB) Viewed 1514 times
MacOS does indeed have the menubar akin to Linux and Windows, but essentially it's rendering this twice.
It then hides it when the platform is detected as MacOS (where exactly, I'm not yet sure).

You can see I've got the App Browser open and have selected the menubar group above. It's pushed up past the top of the window so as to be hidden.
b.png
b.png (320.39 KiB) Viewed 1514 times
I can bring it down using the inspector, and move it to the front, and it is indeed a fully functioning menu. I'd also assume this is true for the revmenubar stack, but I'm not yet sure where the instruction is to hide this and insert the mac-style system menu. If I knew where it was dropping that in, I could comment it out and see if it'd run under Sonoma (fingers crossed)

Unfortunately my Mac can only go as far as Monterey, so I can't try it in Sonoma myself.
User avatar
tperry2x
Posts: 1555
Joined: Tue Dec 21, 2021 9:10 pm
Location: Britain (Previously known as Great Britain)
Contact:

Re: MacOS 14 (Sonoma)

Post by tperry2x »

I'll try and have a look today to see if the revmenubar stack also has an embedded menu like the script editor.
User avatar
richmond62
Posts: 2789
Joined: Sun Sep 12, 2021 11:03 am
Location: Bulgaria
Contact:

Re: MacOS 14 (Sonoma)

Post by richmond62 »

OK . . . here I am at work, but with quite a bit of free time (being the boss has some advantages) . . . mucking around with LC 8.1.10 (but the principle should be the same).

1. Make the MenuBar stack 80 pixels high:
-
Screen Shot 2023-10-20 at 9.48.13 am.png
Screen Shot 2023-10-20 at 9.48.13 am.png (46.39 KiB) Viewed 1502 times
-
I am working on the principle that these changes will NOT save . . . but will need to be implemented via the .liveCodeScript file.

If you set the bottom of a button , say 'Dictionary' to 78 it reverts to 46 as soon as you click on a mouse . . .
-
Screen Shot 2023-10-20 at 9.55.22 am.png
Screen Shot 2023-10-20 at 9.55.22 am.png (80.38 KiB) Viewed 1500 times
-
This is a right wank and, obviously, requires quite a spot of digging in the undergrowth.

DAMN & BLAST I only had 1 cup of coffee this morning. 8-)

Similarly, repositioning the menu items does NOT make them appear on the MenuBar stack:
-
Screen Shot 2023-10-20 at 9.59.32 am.png
Screen Shot 2023-10-20 at 9.59.32 am.png (19.9 KiB) Viewed 1499 times
-


So I, at least, will have to settle down with this: https://livecode.byu.edu/menus/menus.php

"there are small but important differences in the way menubars are laid out on the Mac platform versus the Windows and Unix platforms."
https://richmondmathewson.owlstown.net/
User avatar
richmond62
Posts: 2789
Joined: Sun Sep 12, 2021 11:03 am
Location: Bulgaria
Contact:

Re: MacOS 14 (Sonoma)

Post by richmond62 »

Naive Richmond just had a wild hope:
XII. Making a menu that conforms to various OS standards

Use the command

set the menubar of this stack to "myMenu"

In the Mac OS the Quit, Preferences, and About menu items appear in standard menu locations for all applications. When you set the menubar of a stack, LiveCode automatically places these items in the proper menu locations, while still maintaining their places in the menus under Windows and Unix. This eases the process of creating cross-platform applications.
Well, "in for a penny, in for a pound":
-
Screen Shot 2023-10-20 at 10.13.36 am.png
Screen Shot 2023-10-20 at 10.13.36 am.png (16.48 KiB) Viewed 1493 times
-
Screen Shot 2023-10-20 at 10.14.03 am.png
Screen Shot 2023-10-20 at 10.14.03 am.png (13.58 KiB) Viewed 1492 times
-
Blast:
-
Screen Shot 2023-10-20 at 10.16.30 am.png
Screen Shot 2023-10-20 at 10.16.30 am.png (40.46 KiB) Viewed 1491 times
https://richmondmathewson.owlstown.net/
User avatar
richmond62
Posts: 2789
Joined: Sun Sep 12, 2021 11:03 am
Location: Bulgaria
Contact:

Re: MacOS 14 (Sonoma)

Post by richmond62 »

Well, half way up the stairs!:
-
Screen Shot 2023-10-20 at 10.22.08 am.png
Screen Shot 2023-10-20 at 10.22.08 am.png (15.75 KiB) Viewed 1490 times
-
At LEAST gives me a menu ON the stack:
-
Screen Shot 2023-10-20 at 10.25.02 am.png
Screen Shot 2023-10-20 at 10.25.02 am.png (38.75 KiB) Viewed 1489 times
-
So . . .

#1 How do we get rid of that menu 'up the top' of the Mac screen?

#2 How do we get the other controls on the MenuBar to shift permanently so that the thing doesn't look bloody awful?
-
Screen Shot 2023-10-20 at 10.32.26 am.png
Screen Shot 2023-10-20 at 10.32.26 am.png (93.97 KiB) Viewed 1489 times
https://richmondmathewson.owlstown.net/
Tom
Posts: 5
Joined: Fri Oct 20, 2023 7:43 am
Contact:

Re: MacOS 14 (Sonoma)

Post by Tom »

I have posted a fix for macOS Sonoma here.
User avatar
richmond62
Posts: 2789
Joined: Sun Sep 12, 2021 11:03 am
Location: Bulgaria
Contact:

Re: MacOS 14 (Sonoma)

Post by richmond62 »

This is undoubtedly a clever fix [and it makes me wonder about the 'menu' thing], BUT it can only be a temporary fix as we cannot expect 'every girl and boy' who downloads OXT to go through those 'hijinks' with Terminal commands.
https://richmondmathewson.owlstown.net/
User avatar
tperry2x
Posts: 1555
Joined: Tue Dec 21, 2021 9:10 pm
Location: Britain (Previously known as Great Britain)
Contact:

Re: MacOS 14 (Sonoma)

Post by tperry2x »

Please see:
https://www.openxtalk.org/forum/viewtop ... 4103#p4103

I've applied Tom's clever fix to OXT Lite 0.92, and it runs and functions the same for me. The proof of the pudding will be on Sonoma, which I can't test.
Currently wondering where I can upload my test build, because if it's successful, then nobody else will have to worry about running those commands as it'll already be patched in the new version they download.
User avatar
richmond62
Posts: 2789
Joined: Sun Sep 12, 2021 11:03 am
Location: Bulgaria
Contact:

Re: MacOS 14 (Sonoma)

Post by richmond62 »

How much of Tom's clever fix targets the IDE and how much targets the OS?

Of course if it is ONLY the IDE the problem is solved completely . . . well, completely if those changes carry across into all standalones . . .

I will patch LC 963 tonight and test it on my Sonoma machine.
https://richmondmathewson.owlstown.net/
User avatar
tperry2x
Posts: 1555
Joined: Tue Dec 21, 2021 9:10 pm
Location: Britain (Previously known as Great Britain)
Contact:

Re: MacOS 14 (Sonoma)

Post by tperry2x »

From what I can see, none of it targets the OS. It changes the IDE and the runtime standalone, meaning all changes are OS agnostic - it seems like it'll work on Sonoma once uncompressed as normal. I'm just using a patcher to see if I can get my MacBook Air onto Sonoma. It's already accepted Ventura which it's not supposed to support, so fingers crossed.
I'd like to test it fully before I replace my OXT lite build on my site.

It's bloomin' clever stuff, hats off to Tom.
User avatar
richmond62
Posts: 2789
Joined: Sun Sep 12, 2021 11:03 am
Location: Bulgaria
Contact:

Re: MacOS 14 (Sonoma)

Post by richmond62 »

Yes, it is clever [and the other clever thing will be working out who 'Tom' is].

It does make me wonder about all the 'hoo-ha' about Apple supposedly buggering around with how menus work in MacOS Sonoma.
https://richmondmathewson.owlstown.net/
User avatar
tperry2x
Posts: 1555
Joined: Tue Dec 21, 2021 9:10 pm
Location: Britain (Previously known as Great Britain)
Contact:

Re: MacOS 14 (Sonoma)

Post by tperry2x »

I would loved to have tested this on Sonoma, however - even though I *barely got my Macbook Air 2017 to very grudgingly install Sonoma, it's very not happy about it. (won't load the background)
Screenshot 2023-10-20 at 15.26.48.png
Screenshot 2023-10-20 at 15.26.48.png (251.99 KiB) Viewed 1456 times
I see Apple's iOS-ification of what was once a good operating system is complete.
Screenshot 2023-10-20 at 15.51.01.png
Screenshot 2023-10-20 at 15.51.01.png (189.18 KiB) Viewed 1456 times
Can't actually uncompress anything, or do anything with it.
(I see they've still got those stupid noises for copy commands, like someone blowing over the top of a milk bottle).
Screenshot 2023-10-20 at 15.56.22.png
Screenshot 2023-10-20 at 15.56.22.png (278.25 KiB) Viewed 1456 times
Can't uncompress with Keka either.

This is just pure junk.
Going back to 10.15, so ends my time with Sonoma. In fact, this completely turns me off anything Apple.
So long Apple, and thanks for all the fish.
Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot], Bing [Bot] and 42 guests