serge-rgb / milton

An infinite-canvas paint program
GNU General Public License v3.0
1.53k stars 133 forks source link

Incorrect scaling with multiple monitors at different scaling percentages #194

Open sxxov opened 2 years ago

sxxov commented 2 years ago

I have a bit of a weird setup, where my main monitor (14", 1440p) is set to 150% scaling, whilst my secondary monitor (24", 1080p) is set to 100%. Milton correctly scales to the main monitor, but has very large UI elements when using it on the secondary monitor.

This affects 1.9.1, 1.9.0, 1.6.2 (& possibly others, which I have not tested).

1. Main monitor (14", 1440p, 150%)

image

2. Secondary monitor (24", 1080p, 100%)

image

Forcing Windows to scale Milton via Right-click on "Milton.exe" > Properties > Compatibility > Change high DPI settings > High DPI scaling override > [x] Override high DPI scaling behaviour. > System/System (Enhanced), produces the regression described in #46, but correctly scales the UI elements.

This is kind of a nitpick, since the rest of the program I absolutely love, but I do hope it's very much eventually considered.