[Digikam-devel] [Bug 300407] New: Tags not written to files properly, old tags left over

DrSlony bugs at seeitmyway.org
Mon May 21 20:41:35 BST 2012


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

            Bug ID: 300407
          Severity: major
           Version: 2.5.0
          Priority: NOR
          Assignee: digikam-devel at kde.org
           Summary: Tags not written to files properly, old tags left over
    Classification: Unclassified
                OS: Linux
          Reporter: bugs at seeitmyway.org
          Hardware: Gentoo Packages
            Status: UNCONFIRMED
         Component: Tags
           Product: digikam

Since I started using digiKam a few years ago my tagging habits changed and I
wanted to clean the tags up and make them consistent, so I rearranged them into
neat hierarchies and delete the old tags.
I also wanted to recreate digikam.db, to start afresh, but I wanted to keep the
db just in case, so I did a Settings > Database Migration. The old db was about
50MB, the migrated one was 21MB. It cleaned some stuff out, good, that was the
point.

Now I closed digiKam, deleted digikam.db (the old one, the new one was kept in
backup elsewhere) and restarted digiKam. After scanning my photos, I noticed
that the old tags were back.
I selected all the photos in each collection (I have 3 collections), in the
Captions/Tags tab I selected Information > Template > my new template, and
clicked on More > Write metadata to each file.
This took a good hour or two.
I did not enable "write metadata to raw files" so I presume digiKam wrote
metadata to all files except my PEFs, whose metadata it stored in the
digikam.db file.

Now I closed digiKam, deleted digikam.db, and restarted it. It should only show
the new tags since it would read them from the non-raws, and the raw files
should have no tags since the db was deleted. Well that's not entirely the
case.

I see the new tags, but I also see the old ones. In fact every first photo in
every album has the old tags and the new tags. Every other photo has just the
new ones.
e.g.:
/media/photos/2012-05-01/001.jpg will have both old and new tags
/media/photos/2012-05-01/002.jpg - 100.jpg will have just the new tags.


digiKam version 2.6.0-rc
Exiv2 can write to Jp2: Yes
Exiv2 can write to Jpeg: Yes
Exiv2 can write to Pgf: Yes
Exiv2 can write to Png: Yes
Exiv2 can write to Tiff: Yes
Exiv2 supports XMP metadata: Yes
LibCImg: 130
LibClapack: external shared library
LibExiv2: 0.21.1
LibJPEG: 80
LibJasper: 1.900.1
LibKDE: 4.8.3 (4.8.3)
LibKExiv2: 2.1.0
LibKGeoMap: 2.0.0
LibKdcraw: 2.0.1
LibLCMS: 119
LibLensFun: external shared library
LibLqr: internal library
LibPGF: 6.11.32 - external shared library
LibPNG: 1.5.10
LibQt: 4.8.1
LibRaw: 0.14.4
LibTIFF: LIBTIFF, Version 4.0.1 Copyright (c) 1988-1996 Sam Leffler Copyright
(c) 1991-1996 Silicon Graphics, Inc.
Marble Widget: 0.12.97 (0.13 Release Candidate 2)
Parallelized demosaicing: Yes
Database backend: QSQLITE
LibKface: 2.0.0
LibKipi: 1.3.0
LibOpenCV: 2.3.0
Libface: 0.2

Reproducible: Always




I can't use the photos until the old tags are removed, e.g. my old template
with my old defunct email address, therefore this is a major bug.

-- 
You are receiving this mail because:
You are the assignee for the bug.



More information about the Digikam-devel mailing list