Pro Tools x Windows 11 GUI Window Scaling

Hi All,

I am having an issue with a plugin where in ProTools on Windows (I’m running Windows 11 Home, I haven’t tested on other versions yet) where at certain values of the system desktop scale (specified in Windows Settings, not in my code) the plugin UI gets cut off by the boundaries of the plugin window. I.e. ProTools doesn’t seem to get the correct boundary for the window.

It’s strange that it is dependent on the “scale” setting, since it looks great when the scale is 100% or 150%, but not at 125% or 200% for example. While 200% makes the desktop look silly, 125 and 150 can reasonably be expected to be used.

Does anyone know how the Plugin code tells ProTools to size the window??

an NDA won’t allow me to post images, but I can try to make a mock-up if anyone wants a visual cue.

Thanks!!

What version of JUCE? What version of Pro Tools?

It’s an OLD version of JUCE, 5.4.7, in a project that I inherited, and ProTools is 2023.6.0

We have no such problems, but we use JUCE 7 & 8. I’m not sure when JUCE added dpi-awareness, but I’m sure it was in 6 or even 7.

Yeah not totally surprising that this version doesn’t play nice. I’ll need to look for a workaround or make a patch presumably

The only strange thing then is that other DAWs don’t seem to have the problem…

  1. JUCE 6 onwards contains relevant HiDPI fixes (Release 6.0.0 · juce-framework/JUCE · GitHub)
  2. Almost any OS functionality in Windows is available with soooo many APIs. Scaling/Display is one of them. Inside newer juce there are many queries and tricky code to try and figure out what’s the correct scaling. So PT uses one API while the other DAWs you’re testing might be native HiDPI.
1 Like

this is really helpful, thanks!