Bug 278040 - Raw images disappear after being exported
Summary: Raw images disappear after being exported
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Albums-Versioning (show other bugs)
Version: 2.0.0
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-18 18:40 UTC by Frederic Grelot
Modified: 2022-02-02 04:58 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 2.0.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Frederic Grelot 2011-07-18 18:40:17 UTC
Version:           2.0.0 (using KDE 4.6.4) 
OS:                Linux

When I open a raw image, process it, and then export it, the original image is then hidden.
Since I use the "export" button, I expect the source to eventually appear in the exported image history (it does), but also to stay as an image itself.
I think so because I like to keep raw files in separate directories. It is very stressing to see images disappear one after the other from the raw directory!

Furthermore, if I want to try other raw processing options, the only way to retrieve the original is to go the exported image's history, and open it.

I think this bug is linked to bug 276061, since defining more precise options for raw importing will help.
I would vote for the following options when a raw is imported :
-export : saves an entirely new image, eventually with an history, but not necessarily (what if I just want to export to an usb stick?), and does not hide the source (raw)
-save as : saves the processed image as PNG/TIFF/JPEG... eventually in the same folder (ask?), keep history and hide the source.
-no "save as new version" option, since it's the same as export, or make the difference by recording the history, while it would be discarded when exporting

Reproducible: Always

Steps to Reproduce:
-open a raw image
-export it

Actual Results:  
The raw image disappears

Expected Results:  
The raw image should still be visible

OS: Linux (x86_64) release 2.6.38.8-32.fc15.x86_64
Compiler: gcc

Sorry for the bug flood... at least you know for sure when I'm using digikam... :-)
Comment 1 Marcel Wiesweg 2011-07-23 14:23:53 UTC
Git commit 76e8e3ac11af0052a9003c24403dfb2260c48748 by Marcel Wiesweg.
Committed on 23/07/2011 at 16:23.
Pushed by mwiesweg into branch 'master'.

It seems appropriate to "fork" anything that is saved with saveAs (= Export in non-destructive mode)

CCBUG: 278040

M  +3    -0    utilities/imageeditor/editor/editorwindow.cpp

http://commits.kde.org/digikam/76e8e3ac11af0052a9003c24403dfb2260c48748
Comment 2 Marcel Wiesweg 2011-07-23 14:35:35 UTC
Your reason to use Export here is a workaround for 276061, Export was actually meant to store outside the digikam hierarchy.
Seems there is also need to strip off the history in the Export file dialog.

Apart from that, is the behavior now as expected?
Comment 3 Frederic Grelot 2011-07-24 11:02:38 UTC
Regarding what happens when I use "export", I think it's as expected now : the exported picture's history is OK, and the DNG does't disappeared.

Regarding the reason why I have to use export... see 276061... :-)