Bug 471194

Summary: Some images are rendered incorrectly, show weird pink doted lines
Product: [Applications] gwenview Reporter: Nikolas Spiridakis <1nikolas>
Component: generalAssignee: Gwenview Bugs <gwenview-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: normal CC: 1nikolas, karl
Priority: NOR    
Version: 23.04.2   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: example image.png
Screenshot showing the problem

Description Nikolas Spiridakis 2023-06-18 16:00:56 UTC
Created attachment 159765 [details]
example image.png

SUMMARY
When I open some specific images with gwenview (for this example the image is generated from LucidChart), on some certain zoom levels pink dotted lines appear. Opening the file with a different viewer, shows that these lines are not present on the image but rather are a result of incorrect rendering in gwenview.


STEPS TO REPRODUCE
1. Download attached "example image.png"
2. Open it with gwenview
3. Zoom a little bit

OBSERVED RESULT
Pink lines appear

EXPECTED RESULT
No pink lines should appear

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 5.27.5
KDE Frameworks Version: 5.107.0
Qt Version: 5.15.10
Comment 1 Nikolas Spiridakis 2023-06-18 16:02:31 UTC
Created attachment 159766 [details]
Screenshot showing the problem

In this screenshot you can see the dotted lines
Comment 2 Karl Ove Hufthammer 2023-06-28 09:59:26 UTC
I have tested the example image and can confirm that this is the same problem as in bug #459627. (Resaving the image as a full-colour PNG instead of a PNG with an indexed palette is a workaround, but this might increase the file size.)

*** This bug has been marked as a duplicate of bug 459627 ***