Bug 471194 - Some images are rendered incorrectly, show weird pink doted lines
Summary: Some images are rendered incorrectly, show weird pink doted lines
Status: RESOLVED DUPLICATE of bug 459627
Alias: None
Product: gwenview
Classification: Applications
Component: general (show other bugs)
Version: 23.04.2
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Gwenview Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-06-18 16:00 UTC by Nikolas Spiridakis
Modified: 2023-06-28 09:59 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
example image.png (3.98 KB, image/png)
2023-06-18 16:00 UTC, Nikolas Spiridakis
Details
Screenshot showing the problem (58.79 KB, image/png)
2023-06-18 16:02 UTC, Nikolas Spiridakis
Details

Note You need to log in before you can comment on or make changes to this bug.
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 ***