Blank/White Screen after plugin was closed and opened again

This is turning into a bit of a time-sink, so I’m going to have to park this to concentrate on the upcoming JUCE 8 release for a bit.

For a quick test, I tried adding a WebBrowserComponent as a child of the PluginEditor in the AudioPluginExample plugin. I enabled App Sandbox (including the Outgoing Connections (Client) capability) and Hardened Runtime, in order to allow the browser to display pages from the internet.

With this modified version of the plugin, I found that closing and reopening the editor caused the browser to be blank when the editor was reopened. This might look the same as the original issue if the web browser occupies the entire area of the editor. Does the browser take up the entire editor window in your plugin?

The attached patch should resolve this new issue, allowing web browsers to resume correctly when the editor is reopened.

auv3-blank-v2.patch (7.1 KB)

Please try out this patch and let us know how it compares to the previous version.

1 Like