Recent

Author Topic: Application menu in MacOS Sonoma  (Read 351 times)

ChrisR

  • Full Member
  • ***
  • Posts: 247
Application menu in MacOS Sonoma
« on: September 19, 2023, 06:47:48 pm »
I installed MacOS 14 Sonoma as a virtual machine using the free UTM - this allows me to run Lazarus inside my MacOS 13 Ventura machine
  https://osxdaily.com/2023/07/26/how-to-install-macos-sonoma-beta-in-a-virtual-machine-with-utm/
The good news is that Lazarus and my applications compile and run fine.

The bad news is that Lazarus and my applications no longer show the application menu (e.g. the menu named `Lazarus` that includes the About, Settings and Quit menu items). The traditional Lazarus convention is to create a menu with the caption "" and this would appear with the application name when you run the Application. Not only can you add your own menu items, but this menu item is auto-populated with the Quit, Hide and Services button.

This problem is very easy to replicate: create a new project with Lazarus. Create a main menu and attach two top-lovel menus: one with the caption "" and the other with the capition "File"- You can attach menu items to each with unique captions. Now run the application - if you are using MacOS 13 the application menu appears with your custom memu item and the other auto-populated items, while with Sonoma you only see your "File" menu.

Below is a screenshot of two instances of Lazarus: the top one is the host MacOS 13 that shows the "Lazarus" menu, the lower one is MacOS 14 where this menu is missing.



ChrisR

  • Full Member
  • ***
  • Posts: 247
Re: Application menu in MacOS Sonoma
« Reply #1 on: September 25, 2023, 03:16:01 pm »
Problem solved with MacOS 14.0 Release Candidate 2 (23A344)

 

TinyPortal © 2005-2018