https://bugs.kde.org/show_bug.cgi?id=501456
[email protected] changed: What |Removed |Added ---------------------------------------------------------------------------- Latest Commit| |https://invent.kde.org/grap | |hics/digikam/-/commit/19e18 | |80c9480c6c43caca8d3722956f1 | |f602ffbd Version| |9.3.0 Fixed/Implemented| | In| | Resolution|--- |FIXED Status|ASSIGNED |RESOLVED --- Comment #5 from [email protected] --- Git commit 19e1880c9480c6c43caca8d3722956f1f602ffbd by Gilles Caulier, on behalf of madhur dhillon. Committed on 17/11/2026 at 12:10. Pushed by cgilles into branch 'master'. Image Editor: mark image modified when post-load color transform is applied When an image is loaded into Image Editor and the user converts or re-tags the color profile via ColorCorrectionDlg (or color management post-processing), the transformation was previously applied without adding an undo step or recording the filter action in EditorCore. As a result, UndoState was never updated to modified, leaving the Save action disabled and closing the editor without prompting to save. This patch: - In EditorCore::slotImageLoaded, detects if a post-processing color transform was applied (or profile changed) and registers an irreversible undo action along with the digikam:IccTransformFilter history entry. Note: the undo snapshot contains the already-converted pixels since untransformed data is no longer available after loading. - Uses IccTransformFilter::FilterIdentifier(), CurrentVersion(), and DisplayableName() to ensure 100% parameter and type compatibility with the filter generator. - Unifies UndoActionIrreversible titles in EditorCore using i18n(). - In IccManager::getTransform, preserves inputProfile assignment when tagging untagged or re-assigning profiles, with a guard against ConvertToWorkspace requests with invalid workspace profiles. - In SharedLoadingTask::postProcess, avoids setting a null profile if outputProfile is empty. Other post-process conversion paths (ConvertForEditor, ConvertToSRGB, etc.) remain as follow-up work. FIXED-IN: 9.3.0 M +10 -0 core/libs/dimg/filters/icc/iccmanager.cpp M +6 -1 core/libs/threadimageio/fileio/loadsavetask.cpp M +41 -2 core/utilities/imageeditor/core/editorcore.cpp M +1 -0 core/utilities/imageeditor/core/editorcore_p.h https://invent.kde.org/graphics/digikam/-/commit/19e1880c9480c6c43caca8d3722956f1f602ffbd -- You are receiving this mail because: You are watching all bug changes.
