Using latest develop branch my app now crashes as soon as I use the keyboardwhich triggers menuNeedsUpdate then updateTopLevelMenu which then crashes due to some bogus stuff.
It uses to work though
It calls getMenuForIndex with an index superior to the number of items declared in getMenuBarNames() and I wasn't returning an empty PopupMenu
Don't know if it was supposed to do that.
There have been some users reporting this but we can't seem to reproduce this here. Any chance you could pm me a minimal example that reproduces the problem.
Minimal exemple would be complicated to do.Anyway it's no biggie.My function should have returned a PopupMenu in all cases, even empty.
Have you tried using native mac menu bar ?
Yep you guys have f... up when the menu bar is native mac.
Can you guys quickly fix this ? (I need to release my app today)
It's very easily reproducible in the Juce demo once you switch to native mac menu in Tab & Widget example
returning to 30 dec 2016 version of juce_mac_MainMenu.mm fixes the issue
Should be fixed on develop now