vassalengine/vassal

Menu bar MacOS compatibility

riverwanderer opened this issue · 0 comments

I've started seeing the following report in the Vassal error log:

2024-06-16 07:10:04,202 [41377-ProcessLauncher-2] WARN VASSAL.tools.logging.LoggedOutputStream - 2024-06-16 07:10:04.202 java[41390:3614026] *** WARNING: References to Carbon menus are disallowed with AppKit menu system on macOS 14 and newer. Use instances of NSMenu and NSMenuItem directly instead. See https://developer.apple.com/documentation/macos-release-notes/appkit-release-notes-for-macos-14#Menus

The message is generated whenever a module is opened either in the Player or the Editor.

Possibly related (or not), when a module is opened in the Editor, the last two menu bar items are missing, as if opened in the Player:
image

Normally, I would expect to see this and, in fact, simply clicking on the menu bar restores the missing items:
image

I have not noticed any other adverse behaviour.