I just spent a bunch of time tagging and captioning images. Once done, I used a drag and drop operation from one digikam window to another to move the album(directory) from the "needs tagging" directory to the "done" directory. All of the metadata associated with the .cr2 files disappeared. This means that the metadata associated with the raw files is now gone. Unfortunately, there's no metadata copy function in Digikam up to this version. I used Digikam to do the move because I had expected it would move the metadata in the database, but that did not occur (it used to). Reproducible: Always Steps to Reproduce: 1. Tag images of different types (including raw files) in an album(directory) 2. Move album from one location to another 3. Look at the metadata after the move. Actual Results: Metadata associated with .cr2 files disappeared. Most, but not all, of the metadata was stored in the .xmp file, which helped me recover. It's weird that some metadata appears completely gone. Expected Results: Metadata should have been transferred with all files. OpenSUSE 12.3 digikam-3.2.0-1.83.3.x86_64 from OpenSUSE repository
Are you saying that the .cr2 files on disk disappeared, or did only the relevant information in the database disappear and the files are there?
The information in the database disappeared. The files were moved, but now they have no metadata associated with them. At first, I was also concerned that the .xmp files were not copied, but that was a mistake on my part. That is why I changed the subject. So, no files were lost, just all the metadata I had entered. And, there's no simple way of recovering because there is no copy and paste metadata that I have been able to find.
My first idea is that the collection scanner scans the main file before the sidecar has been copied. Though I thought that sidecars will be copied prior to the main file. Nonetheless, there are numerous issues related to premature scanning.
I went back to the directory and took a look. Today (several days after the move), many of the .cr2 files have metadata. Oddly, some are complete and some are only partial. I selected all .cr2 files and did a "read metadata from files to database" and nothing changed. What was missing was the "Title" field and some tags. The caption was always there, and, oddly, some of the tags were and some were not. It is easy to tell because I could compare to the JPEG that is right beside the .cr2 and was labeled ant tagged at the same time.
Kenneth, This file still valid using last digiKam 4.2.0 ? Gilles Caulier
Using Digikam 4.2.0 on openSUSE 13.1, it appears that the metadata moved properly.
Ok, thanks for the feedback Gilles Caulier