| Summary: | “Paste into New Image” (Krita->Krita) loses color profile | ||
|---|---|---|---|
| Product: | [Applications] krita | Reporter: | Sami Liedes <sami.liedes> |
| Component: | * Unknown | Assignee: | Krita Bugs <krita-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | ciubix8514 |
| Priority: | NOR | ||
| Version First Reported In: | 5.2.14 | ||
| Target Milestone: | --- | ||
| Platform: | NixOS | ||
| OS: | Linux | ||
| Latest Commit: | https://invent.kde.org/graphics/krita/-/commit/5151c75a23953ff258bb6809f58a926a361980a9 | Version Fixed/Implemented In: | |
| Sentry Crash Report: | |||
| Attachments: | test image exhibiting the bug (though I think any image might do) | ||
|
Description
Sami Liedes
2026-01-29 19:21:38 UTC
A possibly relevant merge request was started @ https://invent.kde.org/graphics/krita/-/merge_requests/2655 Git commit ba02429ddae3ce40d71c1ae0c7caa354b49e0de4 by Dmitry Kazakov, on behalf of Luna Lovecraft. Committed on 05/03/2026 at 12:22. Pushed by dkazakov into branch 'master'. Fix pasting selection into a new image missing colorspace `KisClipboard::clipFromMimeData()` was ignoring any layer information present in the clipboard and just getting the QImage instead, which does not contain the color space info. M +32 -0 libs/ui/kis_clipboard.cc https://invent.kde.org/graphics/krita/-/commit/ba02429ddae3ce40d71c1ae0c7caa354b49e0de4 Git commit 5151c75a23953ff258bb6809f58a926a361980a9 by Dmitry Kazakov. Committed on 05/03/2026 at 12:34. Pushed by dkazakov into branch 'krita/6.0'. Fix pasting selection into a new image missing colorspace `KisClipboard::clipFromMimeData()` was ignoring any layer information present in the clipboard and just getting the QImage instead, which does not contain the color space info. (cherry picked from commit ba02429ddae3ce40d71c1ae0c7caa354b49e0de4) 90b7ff8a Fix pasting selection into a new image missing colorspace 5ca28bbe Implement colorspace selection for clipFromKritaLayers 030490a6 Fix a safeAssert in clipFromKritaLayers when copying a mask Co-authored-by: Luna Lovecraft <ciubix8514@gmail.com> M +32 -0 libs/ui/kis_clipboard.cc https://invent.kde.org/graphics/krita/-/commit/5151c75a23953ff258bb6809f58a926a361980a9 |