Bug 457321

Summary: Dragging to 100% zoom is not equivalent to 100%
Product: [Applications] gwenview Reporter: doncbugs
Component: generalAssignee: Gwenview Bugs <gwenview-bugs-null>
Status: CONFIRMED ---    
Severity: normal CC: fw.smit01, p.r.worrall
Priority: NOR    
Version First Reported In: 22.04.3   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: aliasing present at "100%" zoom
an image to test this bug with

Description doncbugs 2022-07-30 22:30:07 UTC
Created attachment 151014 [details]
aliasing present at "100%" zoom

SUMMARY
When viewing an image, dragging the zoom slider to 100% shows artifacts. However, if you set the zoom to the 100% preset, it shows the pixel-perfect image. I have added a checkerboard from here https://images.alphacoders.com/951/thumb-1920-951489.png for best viewing of the bug.


STEPS TO REPRODUCE
1. Open the checkerboard image
2. Attempt to drag the slider to 100%
3. If you just miss it an end up at 99% or 102%, resize the window a little
4. Drag the slider back to the left and try dragging it to 100% again
5. Repeat 3-4 until you land on 100%

OBSERVED RESULT
Rectangle edges are jagged and aliasing despite the image supposedly being at 100% zoom.

EXPECTED RESULT
I suspect it isn't actually rounding the zoom value to the nearest integer, just rounding the displayed amount. 100% should accurately reflect the preset value of 100%.
Comment 1 doncbugs 2022-07-30 22:31:07 UTC
Created attachment 151015 [details]
an image to test this bug with
Comment 2 fw.smit01 2023-02-07 13:06:25 UTC
I could not reproduce this on gwenview 22.12.0
Comment 3 doncbugs 2023-05-14 06:02:29 UTC
Reproduced again with Gwenview 22.12.3 following the provided instructions. Manually selecting 100% immediately corrects the image's aliasing.
Comment 4 A Linux User 2025-09-04 12:18:48 UTC
Thank you for the bug report. Unfortunately we were not able to get to it yet. Can we ask you to please check if this is still an issue with Gwenview 25.08.0 (the latest released version)?