JUCE 9.0.0 : showMessageBoxAsync doesn't work when JUCE_MODAL_LOOPS_PERMITTED=1

Yes I know, JUCE_MODAL_LOOPS_PERMITTED=1 is evil …

With JUCE 8, the following code was working perfectly :

juce::AlertWindow::showMessageBoxAsync(juce::AlertWindow::InfoIcon, juce::translate("About MyApp"), "message", "OK");

Now with JUCE 9, it is still working on Windows and Linux but now on MacOSX the alert window appears during 1 millisecond and disappears …

If JUCE_MODAL_LOOPS_PERMITTED=0, there is no problem (but of course in my project, other problems arise …)

I believe this is fixed on the develop branch, this will we released in a 9.0.1 update soon. Please let me know if it’s still not working on the develop branch.

1 Like

Thanks a lot @anthony-nicholls : it works perfectly with the develop branch.

Problem solved !

1 Like