JUCE 7 OpenGl minimisation bug

We are currently testing to upgrade to JUCE 7.
And we found a bug where the app is rendered blank, when you minimise it and then bring it back.

This only happens when you are using OpenGl as your renderer. And it’s only affecting the standalone plugin target. We were previously using JUCE 6.1.5, where we did not have this problem.

I can reproduce the problem with the attached test plugin (its a simple test plugin with OpenGl renderer instead of default renderer).

Here are the steps:

  1. In XCode choose “Standalone Plugin” as your scheme.
  2. Run the plugin. You see the “Hello World” text.
  3. Minimise the window and then bring it back.
    => Now the “Hello World” text is gone. You get it back, by moving the window around.

I was testing on an Intel Mac using macOS Monterey 12.3.1 and JUCE 7.0.2

Here is the test plugin for reproducing the problem:
JUCE7MigrationTest.zip (8.1 KB)

Thanks for reporting, the issue should be resolved on develop:

1 Like

I’ll test that.

Hi Reuk,

Just had time to test.
I can confirm that the bug is gone on “develop”. Thanks for fixing!