[quote='865567022, siracusa, /thread/804395?answerId=865567022#865567022, /profile/siracusa']
My app also has a default Main Menu in its Main.storyboard file because it has a setting to decide if the app should show a Dock icon and menu bar or not (honored by callingNSApp.setActivationPolicy(…) at runtime).
I get these warnings about the default menus in the main menu bar when my app launches.
[/quote]
It seems I get these too! I wasn’t looking at what my app was logging right after launch.
The app I forked had a feature like this one in SwitchGlass. I had stripped out that feature, among so many others, but was considering add it back and so left the .nib in the app. So a good guess might be that any LSUIElement app nevertheless with a main menu logs these warnings.
The similar warnings about my NSStatusItem menu, it seems they however are no longer being emitted under 26.2 beta (sadly I didn't check 26.1). So if one datapoint can be extrapolated into a trend, perhaps the main menu logs will eventually be removed too.
My laggy menu problem however is not completely gone. I suspect the lag and the logged warnings are not connected.
(mac pro: i still believe)
Topic:
UI Frameworks
SubTopic:
AppKit
Tags: