https://bugs.kde.org/show_bug.cgi?id=397340

--- Comment #15 from Kristian Karl <kristian.hermann.k...@gmail.com> ---
Created attachment 114931
  --> https://bugs.kde.org/attachment.cgi?id=114931&action=edit
Old metadata remains after file is re-scanned

Hi Maik,

I think your solution looks really good.
I tested it, and the re-scanning part works well. 

However, it seems that the old metadata is not discarded from the digikam
database. This means that changes made in a sidecar file, will show up, which
is good.
But the old data, that was replaced, or removed from the sidecar file, is still
displayed by digikam.

This is how I tested it.
========================
1) Start digikam in an empty folder: digikam --database-directory <empty
folder>

2) When digikam asks for a collection, point to a fresh folder of images. No
sidecar files exists.

3) Make sure settings are:
 - "Update file timestamp when files are modified"
 - "Rescan file when files are modified"
 - "Read from sidecar files"
 - "Write to sidecar files 
   - "Write to XMP sidecar only"

4) Assign a face tag XXX to some image

5) Close digikam

6) Open the sidecar file in a text editor, replace the all XXX to YYY, save and
close.

7) Restart digikam

Expected results
================
Image will now display only YYY

Actual results
================
Image displays both XXX and YYY

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to