WebViewPluginDemo JUCE8.. focus issue

I just tested the WebViewPluginDemo example, and it seems that one must click the plugin interface before any interaction can take place if focus has been lost. Is there any way around this, I’ve been digging through the webkit code, experimenting with all sorts of things, but I can’t seem to find any way around it. Is it just me or does this represent a real problem when using webviews in plugins?

Not sure about JUCE 8, but I know this was an issue with choc, there’s been some discussion in the discord something about acceptsFirstMouse on macOS. See also the discussion around keyboard events.

Thanks @sudara - I find it so hard to find things on discord! So this is key:

After that it’s all good :slight_smile:

Yeah, exactly, it was fixed in choc here maybe @attila can take a look if it’s still a problem on JUCE 8…

1 Like

We’ll look into this. Thank you for bringing this up.

1 Like

A fix has been released on the juce8 branch

2 Likes