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

Jakob Petsovits <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|https://invent.kde.org/grap |https://invent.kde.org/grap
                   |hics/koko/-/commit/ea36a1b4 |hics/koko/-/commit/6d7ce044
                   |3b5c968c6987b6de9e4ae56b582 |ffce785658965ae246a7786c5ec
                   |b3cd0                       |6eb84

--- Comment #6 from Jakob Petsovits <[email protected]> ---
Git commit 6d7ce044ffce785658965ae246a7786c5ec6eb84 by Jakob Petsovits.
Committed on 23/11/2026 at 19:57.
Pushed by jpetso into branch 'release/26.12'.

RasterImageDelegate: Fix blurriness at 100% zoom w/ fractional scale

At 100% image zoom, on my 110% fractionally-scaled 1920x1200 screen,
Koko displayed the image with visible blurriness.

Turns out that the "smooth" property in Qt Quick's `Image` component
isn't quite working as expected. Despite the image size mapping to
the physical pixel size (as good as?) exactly, the image is blurry
while with `smooth: false` it looks sharp. This contradicts Qt docs
which state that at the image's natural size, the `smooth` property
should have no visual or performance effect.

So, disable smooth filtering at (close enough to) 100% zoom factor
at least as long as Qt behaves like this.

Note that zooming back and forth will likely introduce floating
point precision drift that will keep the image blurry even when
100% zoom is displayed in the combobox. This can be dealt with
in a follow-up commit, maybe by snapping the zoom factor.


(cherry picked from commit de6e969d8c453d47a33c7aad69ad6465e3ccb719)

Co-authored-by: Jakob Petsovits <[email protected]>

M  +4    -1    src/qml/mediaview/imagedelegate/RasterImageDelegate.qml

https://invent.kde.org/graphics/koko/-/commit/6d7ce044ffce785658965ae246a7786c5ec6eb84

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

Reply via email to