Bug 473802 - JPG, WEBP, PNG, JXL Gwenview Decoders Are Broken (unlike other apps)
Summary: JPG, WEBP, PNG, JXL Gwenview Decoders Are Broken (unlike other apps)
Status: REPORTED
Alias: None
Product: gwenview
Classification: Applications
Component: general (show other bugs)
Version: 23.04.3
Platform: Arch Linux Linux
: NOR major
Target Milestone: ---
Assignee: Gwenview Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-08-27 12:17 UTC by John
Modified: 2023-08-30 14:40 UTC (History)
1 user (show)

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


Attachments
gwenview can't display it properly (you should see logo, there's no logo in gwenview) (19.80 KB, image/jpeg)
2023-08-27 12:17 UTC, John
Details
gwenview can't display it properly (you should see logo, there's no logo in gwenview) (47.28 KB, image/png)
2023-08-27 12:18 UTC, John
Details
gwenview can't display it properly (you should see logo, there's no logo in gwenview) (10.34 KB, image/jxl)
2023-08-27 12:18 UTC, John
Details
gwenview can't display it properly (you should see logo, there's no logo in gwenview) (10.91 KB, image/webp)
2023-08-27 12:19 UTC, John
Details

Note You need to log in before you can comment on or make changes to this bug.
Description John 2023-08-27 12:17:47 UTC
Created attachment 161211 [details]
gwenview can't display it properly (you should see logo, there's no logo in gwenview)

SUMMARY
***
Gwenview should be the master of displaying photos. Unfortunately its decoders are broken, hence its not suitable for browsing displaying photos. I have 4 photos encoded in the following formats: png, jpg, jxl, webp. Gwenview cannot display them properly. I consider it SEVERE. If Gwenview that is a photo browser can't display photos (png, jpg, jxl, webp) and you consider its not severe, then I don't know what a SEVERE is.

Status Quo:
All photos (jpg, jxl, png, webp) are displayed properly in other photo viewers (from examplein software from suckless or imagemagic "$ display", graphicsmagic "$ gm display"). All photos are the same picture with a fainted logo on a red background. Can you see logo in Gwenview? No. Just the red rectangular. Nobody sees what is on photo while using gwenview. That's not the photo. That's just a red rectangular. Verdict: Gwenview fail.

Should be:
Gwwenview should dislpay those photos correctly. Just display them.

STEPS TO REPRODUCE:
1. Open attached photos (png, jpg, jxl, webp) in imagemagic ($ display *.jpg, $ display *.png and so on)
2.  Open them in gwenview
3.  Compare. Not the photo. Just red rectangular in Gwewnview.

SOFTWARE/OS VERSIONS:
Operating System: Arch (not Manjaro)
KDE Plasma Version: 5.27.7
KDE Frameworks Version: 5.109.0
Qt Version: 5.15.10
Intel only
X11
Comment 1 John 2023-08-27 12:18:25 UTC
Created attachment 161212 [details]
gwenview can't display it properly (you should see logo, there's no logo in gwenview)
Comment 2 John 2023-08-27 12:18:46 UTC
Created attachment 161213 [details]
gwenview can't display it properly (you should see logo, there's no logo in gwenview)
Comment 3 John 2023-08-27 12:19:02 UTC
Created attachment 161214 [details]
gwenview can't display it properly (you should see logo, there's no logo in gwenview)
Comment 4 John 2023-08-27 12:27:35 UTC
Affected are also Digikam/Showphoto. :(
Comment 5 John 2023-08-27 12:34:49 UTC
Also affected are:
Digikam/Showphoto

Open Showphoto, then got to "Help" --> "About Showphoto" and read the following on the first tab ("About")
"Professional Photo Management with the Power of Open Source - A KDE Family Project". Professional Grade, really? Can't display jpg, png, jxl and webp. "Professional Grade" MA.
Comment 6 Maik Qualmann 2023-08-27 17:59:21 UTC
I speak for digiKam now. I also don't see a logo when I open the images with Gimp and leave the color profile on sRGB. If you deactivate the color management in digiKam with F12 as a test, you will see the logo in all images (recreat the thumbnails with F5). So set a monitor profile that covers the color space.

Maik
Comment 7 John 2023-08-30 13:33:42 UTC
(In reply to Maik Qualmann from comment #6)
> I speak for digiKam now. I also don't see a logo when I open the images with
> Gimp and leave the color profile on sRGB. If you deactivate the color
> management in digiKam with F12 as a test, you will see the logo in all
> images (recreat the thumbnails with F5). So set a monitor profile that
> covers the color space.
> 
> Maik

You did not understood the bug.
Comment 8 Maik Qualmann 2023-08-30 14:40:05 UTC
You know that your images have an embedded color profile?

Maik