Bug 498899

Summary: Unable to import ICC profiles if `~/.local/share/icc` doesn't exist
Product: [Applications] systemsettings Reporter: Genevieve Mendoza <kdebugzilla>
Component: kcm_colordAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED UNMAINTAINED    
Severity: normal CC: dantti12, nate, swiftlokex, xaver.hugl
Priority: NOR    
Version First Reported In: 6.2.5   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Genevieve Mendoza 2025-01-19 20:30:53 UTC
STEPS TO REPRODUCE
1. `mv ~/.local/share/icc ~/.local/share/iccbak` if it exists
2. Open Color Management in System Settings
3. Import profile -> select any ICC file

OBSERVED RESULT
"Failed to import color profile: could not copy the file"

EXPECTED RESULT
Profile is imported.

I actually noticed that once I created that folder, the file gets copied without an error message, but it doesn't show up under the list of profiles and System Settings crashes shortly after, but I'll file a separate bug with backtrace/more info for that one.

Operating System: Aurora 41 (aurora-dx-stable)
KDE Plasma Version: 6.2.5
KDE Frameworks Version: 6.10.0
Qt Version: 6.8.1
Kernel Version: 6.11.8-300.fc41.x86_64 (64-bit)
Graphics Platform: Wayland
Comment 1 Zamundaaa 2025-01-20 14:12:41 UTC
I'll leave this bug here because if someone wants to fix it for X11 users, this is useful information.

As you're on Wayland though, the "Color Management" page is not relevant for you (and hidden in Plasma 6.3 to make that less confusing). You can set the ICC profile in the display settings.
Comment 2 Swiftloke 2025-03-29 03:00:56 UTC
Hi everyone, I discovered this bug independently and wrote a patch for it here: https://invent.kde.org/graphics/colord-kde/-/merge_requests/26

Zamundaaa, while it's true that Display Configuration is where one should set ICC profiles on Wayland, we still need this page to set ICC profiles for things like printers; that's what I was trying to do when I stumbled upon this, so this bug is still relevant.
Comment 3 David Edmundson 2025-05-26 12:41:21 UTC
kcolord is now unmaintained, color management has moved to kwin as part of wayland.