https://bugs.kde.org/show_bug.cgi?id=360541

--- Comment #24 from Alvin Wong <alvinhoc...@gmail.com> ---
(In reply to Boudewijn Rempt from comment #23)
> 
> Since there is no difference between 150% and 200% scaled, I guess we should
> just apply a 50% zoom factor in the opengl canvas when display scaling is
> on, on Windows...

No, there is a proper way to get the device scale factor (`devicePixelRatio` or
`devicePixelRatioF`). Qt currently rounds the scale factor to integral values
(so 150% gets 2x) but it can change in the future so 150% can get 1.5x instead.
300% is also possible as of now, so 2x isn't the only possible value.

I did proposed dividing the zoom factor by the scale factor, but Dmitry
disagreed with it. There's also more to consider than just the zoom factor.

I believe this and the later comments on
https://phabricator.kde.org/T2299#111948 has summed up most of the issues.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to