Summary: | "Undo" after "Color, Color Space Conversion" does not restore the original ICC profile | ||
---|---|---|---|
Product: | [Applications] digikam | Reporter: | Elle Stone <elle> |
Component: | ColorManagement-Profiles | Assignee: | Digikam Developers <digikam-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | caulier.gilles, kde |
Priority: | NOR | ||
Version: | 2.6.0 | ||
Target Milestone: | --- | ||
Platform: | openSUSE | ||
OS: | Linux | ||
Latest Commit: | http://commits.kde.org/digikam/ead996b2a89b72e0f248c57edc68c22ba079fd93 | Version Fixed In: | 2.8.0 |
Sentry Crash Report: |
Description
Elle Stone
2012-07-07 19:30:58 UTC
Git commit ead996b2a89b72e0f248c57edc68c22ba079fd93 by Marcel Wiesweg. Committed on 22/07/2012 at 15:58. Pushed by mwiesweg into branch 'master'. Record color profile and metadata in undo history in editor. So far only the history was recorded. Add a container to store history and icc profile. Undo/redo now works cleanly when a plugin changes the color profile. DMetadata is currently not kept in undo because either an imageplugin (only two atm, noncritical) or a concurrent user metadata editing operation can change the metadata; essentially, all critical metadata editing would need to be applied before saving. In ImageWindow, we re-write from the database to metadata before saving, so probably all will work. M +2 -1 NEWS M +0 -5 utilities/imageeditor/canvas/canvas.cpp M +0 -1 utilities/imageeditor/canvas/canvas.h M +29 -5 utilities/imageeditor/canvas/dimginterface.cpp M +3 -2 utilities/imageeditor/canvas/dimginterface.h M +27 -10 utilities/imageeditor/canvas/undoaction.cpp M +19 -3 utilities/imageeditor/canvas/undoaction.h M +18 -18 utilities/imageeditor/canvas/undomanager.cpp M +2 -1 utilities/imageeditor/canvas/undomanager.h M +1 -1 utilities/imageeditor/editor/imagewindow.cpp http://commits.kde.org/digikam/ead996b2a89b72e0f248c57edc68c22ba079fd93 *** Bug 306087 has been marked as a duplicate of this bug. *** |