Bug 483561 - Dolphin Cannot Display Thumbnails for PNG Wide Gamut (P3) from Apple/Gooogle Phones
Summary: Dolphin Cannot Display Thumbnails for PNG Wide Gamut (P3) from Apple/Gooogle ...
Status: RESOLVED DUPLICATE of bug 484183
Alias: None
Product: dolphin
Classification: Applications
Component: view-engine: icons mode (show other bugs)
Version: 24.02.0
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Nick
URL:
Keywords: qt6
Depends on:
Blocks:
 
Reported: 2024-03-14 15:22 UTC by John
Modified: 2024-03-21 19:42 UTC (History)
3 users (show)

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


Attachments
PNG Wide Gamut Photo (P3) (47.28 KB, image/png)
2024-03-14 15:22 UTC, John
Details
Thumbnail - faulty (44.92 KB, image/png)
2024-03-15 15:54 UTC, Nick
Details
Thumbnail - seems correct (51.13 KB, image/png)
2024-03-15 15:54 UTC, Nick
Details
No thumbnail after initial copy. (48.97 KB, image/png)
2024-03-15 16:17 UTC, Nick
Details

Note You need to log in before you can comment on or make changes to this bug.
Description John 2024-03-14 15:22:39 UTC
Created attachment 167173 [details]
PNG Wide Gamut Photo (P3)

STEPS TO REPRODUCE
1. Get the attatched photo
2. Open Dolphin
3. No Thumbnail at all.

OBSERVED RESULT
No thumbnail for png wide gamut photos (P3). Thumbnail should also display webkit logo. If there's red (if you fix), but there's still no logo then you failed to support wide gamut. In thumbnail there should be a webkit logo on red background. No logo=no support. Here not even red background.

EXPECTED RESULT
Fix the support for google/android and apple phones and their photos (wide gamut png). Webikit logo on Red should be visible. If there is no logo, then there's no support. NO LOGO=NO SUPPORT.

SOFTWARE/OS VERSIONS:
KDE Plasma Version: 6.0.1
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.2
Graphics Platform: X11
Graphics Processor: Intel Only

ADDITIONAL INFORMATION:
$ pacman Qs 'xxxx':
kdesdk-thumbnailers 24.02
kdegraphics-thumbnailers 24.02
ffmpegthumbs 24.02
qt6-imageformats 6.6.2
kimageformats 6.0.0
libpng 1.6.43
libavif 1.0.4
libheif 1.17.6
libwebp 1.3.2
libjxl 0.10.2
webp-pixbuf-loader 0.2.7

P.S. Gwenview displays thumbnails correctly. There is red background and webkit logo on it. Gwenview cannot display this photo. It displays only red background, but no logo, hence fail.
Comment 1 Nick 2024-03-15 15:53:29 UTC
Hi - I'm having a go at triaging this one. I've copied your sample file into my Neon desktop and have mixed results.

initially all I got was a red square thumbnail (see attached screenshot-fault.png) , but after opening it in Krita (a step I believe is unrelated, but noting it here for completeness) the thumbnail seemed to be rendered correctly (see attached screenshot-working.png).

I have since copied this to another folder and I cannot get the same thumbnail to appear. This issue needs more work to reliably duplicate it. I'll keep trying but if the OP or anyone else can duplicate this reliably that would help.

Nick
Comment 2 Nick 2024-03-15 15:54:03 UTC
Created attachment 167267 [details]
Thumbnail - faulty
Comment 3 Nick 2024-03-15 15:54:30 UTC
Created attachment 167268 [details]
Thumbnail - seems correct
Comment 4 Nick 2024-03-15 16:17:04 UTC
Created attachment 167270 [details]
No thumbnail after initial copy.

I believe I have duplicated the original issue here, which is when copying the file into a folder Dolphin shows no thumbnail. If I then close and re-open Dolphin I can get the red square (without the logo) thumbnail, so something is not right with the way the thumbnail is generated. Setting this as 'CONFIRMED' since this reliably reproducible. I'm on the latest Neon.
Comment 5 Nicolas Fella 2024-03-21 19:42:26 UTC

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