It seems that AlertWindows are not correctly scaled in DAWs that have a dedicated HiDPI mode.
I am using a Windows scaling of 200% with HiDpi mode switched on in Cubase, Reaper or StudioOne. The plugin editor is scaled correctly, but any AlertWindow that is opened from the plugin remains extremely small and can not be scaled.
Same situation on macOS.
As far as I could see, this happens since a commit from March, 2nd 2020 (between JUCE 5.4.7 and JUCE 6.0):
- Windows: Refactored DPI handling in the VST wrapper and hosting code
Since then, the plugin windows in HiDpi mode are scaled using an AffineTransform. But as AffineTransform does not work for Components on the Desktop, the AlertWindows remain unscaled.
Does anybody know a fix or a workaround to get AlertWindows to the correct size in HiDPI mode?