[Koko] [Bug 503454] Use smooth upscaling at not-enormous zoom levels, like Gwenview does

Oliver Beard bugzilla_noreply at kde.org
Tue Jul 22 13:54:26 BST 2025


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

Oliver Beard <olib141 at outlook.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
      Latest Commit|                            |https://invent.kde.org/grap
                   |                            |hics/koko/-/commit/cd6646f9
                   |                            |05e4ccdd203ecacd9315fa98020
                   |                            |aa135
         Resolution|---                         |FIXED

--- Comment #2 from Oliver Beard <olib141 at outlook.com> ---
Git commit cd6646f905e4ccdd203ecacd9315fa98020aa135 by Oliver Beard.
Committed on 22/07/2025 at 12:52.
Pushed by olib into branch 'master'.

RasterImageDelegate: Only stop being smooth at >= 400%

This matches Gwenview's behaviour: when the image is zoomed to 400% or greater,
the image becomes pixellated.

The old behaviour was only to apply smooth & mipmapping when zoomed out (<
100%).

In order to prevent reloading the image (which causes a black frame), mipmap
should not change. It has no effect unless zoomed out anyway.

retainWhileLoading would help, but causes noisy warning output. Either way, we
should only have to load the image once, so masking reloading is not really
ideal.

M  +7    -5    src/qml/imagedelegate/RasterImageDelegate.qml

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

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Unassigned-bugs mailing list