Extra macOS menu items to respect disabled flag

In standalone plugins it doesn’t work:


This was shown from a brand new standalone plugin project, I just added MenuBarModel to the AudioProcessorEditor inheritance, minimally implemented the needed virtual functions and then did:

    menu.addItem(100, "Testing", false);
    MenuBarModel::setMacMainMenu(this, &menu);

It’s certainly possible to have disabled items in this menu:


the last time this came up was quite some time ago : Disable item in Mac menu

Any chance this could be fixed?

I’ve added a fix for this issue here:

Please try it out and let us know if you run into any problems with this change.

I’m closing this topic to free spent votes.

1 Like