DISTRHO / DPF

DISTRHO Plugin Framework
ISC License
672 stars 97 forks source link

Automatic Scaling doesn't work on Linux Mint #455

Open chrisherb opened 5 months ago

chrisherb commented 5 months ago

When I set automaticallyScaleAndSetAsMinimumSize=true in the constructor of DISTRHO::UI, my Linux build crashes when I set the interface scale to 200% (Linux Mint 21.3). The error reads as follows:

assertion failure: "width > 1 && height > 1" in file dpf/dgl/src/WindowPrivateData.cpp, line 584, v1 1, v2 1

I'm pretty sure I have seen this working before so I suspect a breaking change somewhere. Let me know if should investigate which version of DPF that plugin was using.