Bug 510795

Summary: Support for Wayland color management protocol
Product: [Applications] digikam Reporter: Shengyu Qu <wiagn233>
Component: ColorManagement-CoreAssignee: Digikam Developers <digikam-bugs-null>
Status: REPORTED ---    
Severity: normal CC: caulier.gilles, nicolas.fella, wiagn233
Priority: NOR    
Version First Reported In: 8.8.0   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Shengyu Qu 2025-10-19 17:06:32 UTC
Current existing wayland color management support is actually useless. It only try to fetch ICC profile from compositor. But both Kwin and Mutter won't provide monitor ICC to user applications at all, so it won't get anything.

Also, Digikam needs to mark color description info to it's windows, or Wayland compositors would just treat it as sRGB, so even if Digikam gets the profile, it still won't be working at all.

This issue is created since https://bugs.kde.org/show_bug.cgi?id=436526 is marked as resolved fixed and nobody replies to the complain here: https://bugs.kde.org/show_bug.cgi?id=436526#c17
Comment 1 Shengyu Qu 2025-10-19 17:17:21 UTC
Also existing code won’t work on macOS and Windows ACM. They also do global color management, so without marking color description to software windows would also cause the color getting limited to sRGB.
Comment 2 Shengyu Qu 2025-10-19 17:26:02 UTC
Btw here’s Krita’s Wayland color management implementation: https://invent.kde.org/graphics/krita/-/merge_requests/2457