Juce WebViewPluginDemo not showing properly in Ableton Live

Hi everyone,

I’m experiencing a display scaling issue with my JUCE plugin which contains a webview. To isolate the problem, I tested the WebViewPluginDemo from JUCE v8.0.13 under the same conditions, and the issue is reproducible:

OS: Windows 11, Host: Ableton Live 12.4.1

Steps to reproduce:

  • Set windows display scaling to 125% (which seems to be the default on many machines).
  • Enable HiDPI in Ableton Live.
  • Load the WebViewPluginDemo.

Key notes:

  • Not reproducible in any other DAW.
  • Disabling HiDPI mode in Ableton Live fixes the issue (but not ideal).

Are there known workarounds or fixes for this scaling problem?

Thanks in advance for any insights or suggestions!

Not reproducible if the “Auto-Scale Plug-in Window” option is off.

Live needs to be restarted when this option is changed, otherwise the bug will still occur.