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

Vlad Zahorodnii <vlad.zahorod...@kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|ASSIGNED                    |RESOLVED
      Latest Commit|                            |https://invent.kde.org/plas
                   |                            |ma/kwin/commit/c9ac2e3fb811
                   |                            |311701b81f745b63f35256a2cf3
                   |                            |e

--- Comment #4 from Vlad Zahorodnii <vlad.zahorod...@kde.org> ---
Git commit c9ac2e3fb811311701b81f745b63f35256a2cf3e by Vlad Zahorodnii.
Committed on 26/04/2021 at 11:41.
Pushed by vladz into branch 'master'.

decoration: Fix rendering issues with scale factors < 1

QPainter::setWindow() doesn't work as we expect if the device pixel
ratio of the paint device is less than 1, for example 0.5 or 0.75.

QPainter only allows the effective device pixel ratios that are greater
than or equal to 1. This restriction probably has to be lifted.

For the time being, this change introduces a helper function that can be
used to determine the scale factor by which QPainter::window() must be
multiplied.

M  +1    -1    src/decorations/decorationrenderer.cpp
M  +1    -1    src/plugins/scenes/opengl/scene_opengl.cpp
M  +1    -1    src/plugins/scenes/qpainter/scene_qpainter.cpp
M  +6    -0    src/utils.cpp
M  +9    -0    src/utils.h

https://invent.kde.org/plasma/kwin/commit/c9ac2e3fb811311701b81f745b63f35256a2cf3e

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

Reply via email to