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

Jakob Petsovits <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|ASSIGNED                    |RESOLVED
      Latest Commit|                            |https://invent.kde.org/grap
                   |                            |hics/koko/-/commit/ea36a1b4
                   |                            |3b5c968c6987b6de9e4ae56b582
                   |                            |b3cd0

--- Comment #5 from Jakob Petsovits <[email protected]> ---
Git commit ea36a1b43b5c968c6987b6de9e4ae56b582b3cd0 by Jakob Petsovits.
Committed on 23/11/2026 at 19:53.
Pushed by jpetso into branch 'master'.

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.

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

https://invent.kde.org/graphics/koko/-/commit/ea36a1b43b5c968c6987b6de9e4ae56b582b3cd0

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

Reply via email to