FileChooser launchAsync blurry dialogs (Windows)

I’ve been updating a few projects to use FileChooser launchAsync() instead of the now deprecated modal calls. On Windows I get noticeably blurry dialog boxes. It looks like the dialogs are not rendered as they should be on Hi-DPI screens. The plugin UI itself is fine on Hi-DPI screens.

Am I missing something or is it a general Windows Hi-DPI bug?

This is on JUCE 6. Haven’t tried 7 yet. Windows only.

1 Like

I am seeing this same issue on Windows with JUCE 8 in Ableton Live when running with “auto-scale plugin window” disabled (the Ableton mode that allows the plugin to run with full DPI-awareness, e.g. the mode that should be sharp).

My plugin window is perfectly sharp, but the window that appears from FileChooser::launchAsync is blurry in the way that obviously indicates that it was rendered without DPI-awareness and upscaled by the OS.

This only appears to happen in Ableton from what I’ve seen. I have tested Reaper, Cubase, and Waveform, and they all show a perfectly sharp file chooser menu. But they also all seem to have a less-confused DPI situation than Ableton.

I’m thinking that maybe JUCE is not creating the window with a thread-specific DPI-awareness (using the ScopedDPIAwareness thing or whatever).