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

--- Comment #22 from Arjen Hiemstra <ahiems...@heimr.nl> ---
Git commit 69eba3a87868c01e919f90cf5e4d4c5069f4ac64 by Arjen Hiemstra.
Committed on 12/01/2024 at 15:26.
Pushed by ahiemstra into branch 'master'.

styleitem: Base render node size on image

When using fractional scaling, we may end up with an image that is
slightly different in size from the bounds of our item, since the image
will always be in integer size but the item size can be fractional. This
causes it to be rendered at a slightly different size from the texture
size, which triggers interpolation and leads to glitches in the rendered
result.

To avoid all that, rather than using our item's bounds for the node
size, use the image size converted back to logical pixels as the node
size. This may actually end up with us using a fractional node size, but
ensures that when rendered we use the exact image dimensions.

M  +8    -5    plugin/kquickstyleitem.cpp

https://invent.kde.org/frameworks/qqc2-desktop-style/-/commit/69eba3a87868c01e919f90cf5e4d4c5069f4ac64

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

Reply via email to