Hello chaps. I’ve just checked in some code that uses extreme cunningness to try to improve the safety of modal components in plugins.
Some of you have hit the problem where a juce menu or dialog box is active, and the user clicks on some other bit of host UI that deletes the plugin window and it all goes bang later when the stack unwinds. Well, try the latest version, which should block most extraneous mouse clicks and keystrokes, making it all much safer.
The only thing I’ve not figured out yet is how to stop the mac menu bar from being used while something is modal - if anyone has any suggestions, that’d be welcome!