I am working on the iPhone and am pretty new to the whole Juce environment, so please bear with me if my explanation seems a little “off”.
The problem I am having is that when I click on a commandItem on a popupMenu that spawns a dialog window (using DialogWindow::showModalDialog…), before it will actually display I have to click on the main window.
The point that confuses me is that this issue is averted if I put that same command item in a sub menu. I tested this by taking the exact same item and putting it directly in a popup menu and then in a submenu.
This only happens on the iPhone version of the app. On the desktop version all the modal dialogs are properly brought to the front of the application.
Does anyone know how I can fix this so that I don’t need to add submenus? Submenus become pretty pointless if a menu only has one item (e.g. About).
Thanks in advance.