Hot Door CORE Forum
Skipped menu items for CC 2019 Mac - Printable Version

+- Hot Door CORE Forum (http://hotdoorcore.com/forum)
+-- Forum: All forums (http://hotdoorcore.com/forum/forumdisplay.php?fid=1)
+--- Forum: General discussion (http://hotdoorcore.com/forum/forumdisplay.php?fid=3)
+--- Thread: Skipped menu items for CC 2019 Mac (/showthread.php?tid=334)



Skipped menu items for CC 2019 Mac - Rick Johnson - 01-31-2023

I've got a simple plugin that adds items to an existing Illustrator menu. The latest update adds a few items and moves some items into sub-menus. Everything is fine in all versions for Windows and 2020-2023 for Mac, but the Mac 2019 version does not add the menu items to the built-in menu. It's compiled with CORE 0.8.1, Xcode 10.3, macOS 10.15 Catalina. Stepping through the debugger, the address of the menu item gets updated as it's created, but it just doesn't get added to the menu in this one Mac configuration.

The same thing happens on my laptop using Xcode 13 under macOS 12.6 Monterey, so it looks less like an Xcode configuration issue. Also, I get the same results when compiled under CORE 0.8.0 as with 0.8.1.

-------

FOUND IT!

Menu items are supposed to be added in Startup() only, but it seems AI 23 for Mac must build at least some of its menus after calling plugins' Startup events. It's technically incorrect to do so, but for AI 23 I add menus in the PostStartup() event and everything works.