For my plugin UI rescaling I’m trying to make the change from setScaleFactor() to Desktop::setGlobalScaleFactor() as has been recommended with the recent changes. However, there’s a couple of blocking issues:
ProTools does not scale the UI window. When changing the desktop scale factor the content and layout of the UI is scaled correctly, but the window size itself does not update. This means the UI is cropped.
On all plugin formats there is something wrong with the mouse over coordinates. I have a few components using mouseEnter() as well as Slider tooltips, and they are not triggered at the correct mouse position when desktopScaleFactor != 1. Sometimes it works with a fresh plugin instance, but after moving the plugin window the coordinates seem to have shifted and the mouseEnter() is called at the wrong position. Mouse clicks and drags work correctly.
I’m on the latest JUCE develop branch.
@ed95 is this something you can have a look at?