Getting to the end on this project, but of course I’m getting to the small, difficult bugs.
I have a digital audio application with menus containing submenus. They work fine if I’m not “playing” - the menus come up OK and I can get to the submenus.
But when I’m “playing” (yes, I know this is not a Juce concept but a concept of my app), the menus come up fine - but none of the submenus come up when I click on them, and none of the menu commands work from the menu (they work fine from the keyboard or the GUI).
The key accelerators work fine, all my buttons work fine, my screen updates fine, my CPU is mostly idle (I’m using about 15% of one of my eight cores). I can do all sorts of abusive things to the program like hammering on command keys and it works without a flaw.
So what could it be?
If I were grabbing the MessageManagerLock, surely my GUI would fail to update? If I had lock contention, surely I’d hear it or see it or I’d have some other effect? I thought I might be calling menuItemsChanged() too often but I am not.