On Wed, 15 Feb 2023 14:19:29 +0000
Morten Sørvig via Development <development@qt-project.org> wrote:

> On 27 Jan 2023, at 18:04, Ilya Fedin <fedin-ilja2...@ya.ru> wrote:
> 
> 
> 
> My patch doesn't modify setScreenFactor, so the rounding is applied
> only to the variable value (and to the property on QScreen object, as
> it's the only remaining source without rounding in
> QHighDpiScaling::screenSubfactor), so the programmatic calls of
> QHighDpiScaling::setScreenFactor are unaffected.
> 
> However, it still rounds the value when reading it, and so
> tst_QQmlPreview::zoom() gets a rounded value and fails. At least
> that’s what I’m seeing.
> 
> Here’s a new attempt: round the value when applying from the env.
> variable, outside of setScreenFactor() which now keeps its existing
> behavior:
> 
> https://codereview.qt-project.org/c/qt/qtbase/+/460566
> 
> Morten
> 
> 

It seems the change has stuck in +2 state for a month as well as the
fix for QT_WIDGETS_HIGHDPI_DOWNSCALE
-- 
Development mailing list
Development@qt-project.org
https://lists.qt-project.org/listinfo/development

Reply via email to