Bug 510795 - Support for Wayland color management protocol
Summary: Support for Wayland color management protocol
Status: REPORTED
Alias: None
Product: digikam
Classification: Applications
Component: ColorManagement-Core (other bugs)
Version First Reported In: 8.8.0
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-10-19 17:06 UTC by Shengyu Qu
Modified: 2025-10-19 19:13 UTC (History)
3 users (show)

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


Attachments

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