Bug 465066

Summary: "bleached" png as if 50% transparent on white
Product: [Applications] gwenview Reporter: Holger <private_lock>
Component: generalAssignee: Gwenview Bugs <gwenview-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: xnagytibor
Priority: NOR    
Version: 21.12.3   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
See Also: https://bugs.kde.org/show_bug.cgi?id=441162
Latest Commit: Version Fixed In:
Attachments: the "broken" png
screenshot of the problem

Description Holger 2023-01-31 00:12:43 UTC
Created attachment 155813 [details]
the "broken" png

SUMMARY
One of my png files shows as if through a white fog, though the thumbnail has full colors.

STEPS TO REPRODUCE
1. open the given png in gwenview

OBSERVED RESULT
Thumbnail preview is fine, main display is "bleached" as if 50% transparent on white.

EXPECTED RESULT
E.g. Firefox displays the file just fine.

SOFTWARE/OS VERSIONS
Operating System: Kubuntu 22.04
KDE Plasma Version: 5.24.7
KDE Frameworks Version: 5.92.0
Qt Version: 5.15.3
Kernel Version: 5.15.0-58-generic (64-bit)
Graphics Platform: X11
Processors: 8 × Intel® Core™ i7-4700MQ CPU @ 2.40GHz
Memory: 15.5 GiB of RAM
Graphics Processor: Mesa Intel® HD Graphics 4600

ADDITIONAL INFORMATION
Comment 1 Holger 2023-01-31 00:17:37 UTC
Created attachment 155814 [details]
screenshot of the problem

The broken png has the md5sum of:
b3f2da02e0e05ddd876a7f928e57298a

This is a screenshot of what I get.

Also tried it in Gimp, Okular and Gnome Bildbetrachter ... only gwenview fails
Comment 2 Nagy Tibor 2023-01-31 16:04:05 UTC
This was a Qt5 PNG decoder bug where the decoder incorrectly read the inverse of the proper gamma value from images without an ICC profile present. Already fixed in 2021.
Comment 3 Holger 2023-05-08 21:58:21 UTC
Problem is gone in version 22.12.3