Bug 280426 - Exif data from jpegs deleted when using XML sidecars and adding keyword tags
Summary: Exif data from jpegs deleted when using XML sidecars and adding keyword tags
Status: RESOLVED WORKSFORME
Alias: None
Product: digikam
Classification: Applications
Component: Metadata-Sidecar (show other bugs)
Version: 2.0.0
Platform: Ubuntu Linux
: NOR major
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-19 14:34 UTC by Marcus
Modified: 2012-06-27 07:37 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 2.6.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marcus 2011-08-19 14:34:54 UTC
Version:           2.0.0 (using KDE 4.7.0) 
OS:                Linux

Preferences: Using XML sidecars (writing data to picture and XML)
Action: Adding a keyword tag to the picture
Result: Keyword written, all former exif deleted. Only the digikam data is still there. (Time/Date and Software (Digikam)

Tested without knowing on some hundred files.
It's reproducable. If I switch off XML sidecar use, adding keyword tags is no problem. Switching on again, it continues deleting the original exif (I wrote more at the user mailinglist)

RAW files are not subject to this behavior, but I dont use the experimental raw exif feature.

Reproducible: Always

Steps to Reproduce:
Change preferences using/not using XML sidecars

Actual Results:  
deletes exif of jpegs

Expected Results:  
keep the original exif data

OS: Linux (i686) release 2.6.38-11-generic
Compiler: gcc
Comment 1 Marcus 2011-08-19 14:38:30 UTC
forgot to say: I used gwenview and JPhotoTagger to check exif. It's really deleted from the original files
Comment 2 caulier.gilles 2011-08-19 15:42:53 UTC
Which Exiv2 version you use ? Look in Help/components Info for details...

Gilles Caulier
Comment 3 Marcus 2011-08-28 00:08:17 UTC
LibExiv2: 0.21.1

(I found your question on gckd devel and answered there. Seems to work posting here gets to the newsgroup, I thoght it would work vice versa as well. Bugs.kde.org didn.t give me a notification. Please excuse my late answer here)
Comment 4 Kristian 2011-09-03 22:34:08 UTC
I can confirm this behaviour. However, I can only reproduce it, if the option "Read metadata from XMP sidecar files" is activated as well. Furthermore, digiKam also randomly deletes exif data while importing files.
Comment 5 Marcus 2011-09-04 14:19:17 UTC
importing pictures I never had problems with exif data. Only with th€ xml files like discribed.
Comment 6 Marcel Wiesweg 2012-03-15 20:44:03 UTC
Not reproducible anymore with current digikam from git. Feel free to reopen if you still have a problem with coming digikam 2.6 or current git.