[Digikam-devel] [Bug 188709] New: Tag hierarchy not properly restored from files (IPTC)

Ismael leamsi.setroc at gmail.com
Fri Apr 3 04:44:49 BST 2009


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

           Summary: Tag hierarchy not properly restored from files (IPTC)
           Product: digikam
           Version: 0.10.0
          Platform: Slackware Packages
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: digikam-devel at kde.org
        ReportedBy: leamsi.setroc at gmail.com


Version:           0.10.0 (using KDE 4.2.1)
Compiler:          gcc 4.3.3 
OS:                Linux
Installed from:    Slackware Packages

Given the following Tag Hierarchy:

+ Author
--+ Argote
--...

+ USA
--...
--+ Minnesota
-----+ Rochester
-----...

+ Interior
--+ Applebees
--...

I've applied the written out leaves of this listed tag-tree to some images.
Then I stopped Digikam, removed ~/.kde/share/config/digikamrc and
~/Pictures/digikam4.db and restarted Digikam. Upon restart it ran the first
time wizard... everything was then configured as it was before.

Then I saw that some extra tags appeared (in the Tag view), namely "Argote",
"Rochester", "Applebees" (besides "Author/Argote", "USA/Minnesota/Rochester"
"Interior/Applebees" which appeared all right).

Upon closer inspection it seems that digikam is saving both,
"Interior/Applebees" and "Applebees", into IPTC, and when re-importing them it
reads them as different tags, getting both added to the database.

This is different from the 0.9.4 behavior where only "Interior/Applebees"
would've been saved (which makes a lot of sense to me and makes it truly a copy
of the information present in the database).

Here's a exiv2 -pi -PIk of one of the 0.10.0 tagged pictures with the problem:

Iptc.Application2.Program                    String      7  digiKam
Iptc.Application2.ProgramVersion             String      6  0.10.0
Iptc.Application2.Urgency                    String      1  8
Iptc.Application2.Keywords                   String     23 
USA/Minnesota/Rochester
Iptc.Application2.Keywords                   String     18  Interior/Applebees
Iptc.Application2.Keywords                   String     13  Author/Argote
Iptc.Application2.Keywords                   String      6  Argote
Iptc.Application2.Keywords                   String      9  Rochester
Iptc.Application2.Keywords                   String      9  Applebees


And here's one tagged with 0.9.4:

Iptc.Application2.Caption                    String     22  Ranita sin enfocar
(2)
Iptc.Application2.Program                    String      7  digiKam
Iptc.Application2.ProgramVersion             String      5  0.9.4
Iptc.Application2.Urgency                    String      1  8
Iptc.Application2.Keywords                   String     23 
USA/Minnesota/Rochester
Iptc.Application2.Keywords                   String     14  Interior/House

Using: digikam-0.10.0 (compiled from source using GCC 4.3.3).
digiKam version 0.10.0
Exiv2 can write to Jp2: Yes
Exiv2 can write to Jpeg: Yes
Exiv2 can write to Png: Yes
Exiv2 can write to Tiff: Yes
Exiv2 support XMP metadata: Yes
LibCImg: 130
LibExiv2: 0.18
LibJPEG: 62
LibJasper: 1.900.1
LibKDE: 4.2.1 (KDE 4.2.1)
LibKExiv2: 0.5.0
LibKdcraw: 0.4.1
LibLCMS: 118
LibPNG: 1.2.35
LibQt: 4.5.0-rc1
LibRaw: 0.6.13-Release
LibTIFF: LIBTIFF, Version 3.8.2 Copyright (c) 1988-1996 Sam Leffler Copyright
(c) 1991-1996 Silicon Graphics, Inc.
Marble widget: 0.7.1
LibGphoto2: 2.4.4
LibKipi: 0.3.0

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Digikam-devel mailing list