[Bug 159158] New: Tags moved in tree are duplicated in the IPTC metadata

classic Classic list List threaded Threaded
12 messages Options
Reply | Threaded
Open this post in threaded view
|

[Bug 159158] New: Tags moved in tree are duplicated in the IPTC metadata

Jean-Marc Liotier-2
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=159158         
           Summary: Tags moved in tree are duplicated in the IPTC metadata
           Product: digikam
           Version: unspecified
          Platform: Ubuntu Packages
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: digikam-devel kde org
        ReportedBy: jim liotier org


Version:           0.9.2-final (using KDE 3.5.8)
Installed from:    Ubuntu Packages
OS:                Linux

Let's take a file an tag it with the word "Senegal", then synchronize the images from the database.

21:12 jim senecio ~/digikam_albums/Senegal2008% exiv2 -p iptc img_1640.jpg
Iptc.Application2.Program                    String      7  digiKam
Iptc.Application2.ProgramVersion             String     11  0.9.2-final
Iptc.Application2.Keywords                   String      8  Senegal

Wait - surely I'm going to visit other countries, so let's make a "Place" category and put "Senegal" in it by drag and dropping it there in the "Tag Filters" tree display on the right of the main window.

21:13 jim senecio ~/digikam_albums/Senegal2008% exiv2 -p iptc img_1640.jpg
Iptc.Application2.Program                    String      7  digiKam
Iptc.Application2.ProgramVersion             String     11  0.9.2-final
Iptc.Application2.Keywords                   String      8  Senegal
Iptc.Application2.Keywords                   String     14  Place/Senegal

Ooops. "Place/Senegal" is correct, but "Senegal" has not been deleted.

Maybe this is consistent with Digikam's policy of not harming existing data inside the picture file. But from my point of view this is not what I expected.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 159158] Tags moved in tree are duplicated in the IPTC metadata

Jean-Marc Liotier-2
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=159158         




------- Additional Comments From jim liotier org  2008-03-11 21:39 -------
May be somehow related with bug 15873 (http://bugs.kde.org/show_bug.cgi?id=158713) and bug 136254 (http://bugs.kde.org/show_bug.cgi?id=136254).
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 159158] Tags moved in tree are duplicated in the IPTC metadata

Gilles Caulier-4
In reply to this post by Jean-Marc Liotier-2
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=159158         
caulier.gilles gmail com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|general                     |Metadata
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 159158] Tags moved in tree are duplicated in the IPTC metadata

Jean-Marc Liotier-2
In reply to this post by Jean-Marc Liotier-2
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=159158         




------- Additional Comments From jim liotier org  2008-03-11 21:59 -------
By the way, if you are hit by this bug, here is the workaround :
- 'exiv2 rm -d i yourfile.jpg' or 'exiv2 rm -d i *.jpg' will erase IPTC metadata.
- then hit "Synchronize images with the database" and your files shall soon be populated by the right tags fresh from the the database and with no trace of the moved or erased tags.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 159158] Tags moved in tree are duplicated in the IPTC metadata

Bugzilla from andi.clemens@gmx.net
In reply to this post by Jean-Marc Liotier-2
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=159158         




------- Additional Comments From andi.clemens gmx net  2008-04-29 10:58 -------
I can confirm this bug. I have to remove the IPTC metadata first and synchronize the images with the database, otherwise old tags are still in the metadata or moved tags are duplicated.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 159158] Tags moved in tree are duplicated in the IPTC metadata

Arnd Baecker
In reply to this post by Jean-Marc Liotier-2
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=159158         
arnd.baecker web de changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
      everconfirmed|0                           |1
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 159158] Tags moved in tree are duplicated in the IPTC metadata

Bugzilla from x3ri7yz02@sneakemail.com
In reply to this post by Jean-Marc Liotier-2
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=159158         




------- Additional Comments From x3ri7yz02 sneakemail com  2008-05-27 04:39 -------
Confirmed in SVN (revisions:  exiv2 1463, graphics 813168, libs 813167)
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 159158] Tags moved in tree are duplicated in the IPTC metadata

Gilles Caulier-4
In reply to this post by Jean-Marc Liotier-2
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=159158         
caulier.gilles gmail com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |marcel.wiesweg gmx de



------- Additional Comments From caulier.gilles gmail com  2008-05-27 12:14 -------
Marcel,

I suspect a bug in MetadataHub.

Same in http://bugs.kde.org/show_bug.cgi?id=152199

Gilles Caulier
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 159158] Tags moved in tree are duplicated in the IPTC metadata

Marcel Wiesweg
In reply to this post by Jean-Marc Liotier-2
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=159158         




------- Additional Comments From marcel.wiesweg gmx de  2008-06-06 23:53 -------
This is due to digikam's behavior: Existing tags from Metadata are kept.

There are two possible solutions to this problem:
1) When the tag is changed, the metadata of all images with this tag would need to be resynchronized automatically, actually only those files where the tag has been written to the metadata.
2) Digikam would need to know that Places/Senegal was formerly Senegal. This boils down to keep a map of tag movement history.

You see that both solution have significant side effects.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 159158] Tags moved in tree are duplicated in the IPTC metadata

Bugzilla from x3ri7yz02@sneakemail.com
In reply to this post by Jean-Marc Liotier-2
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=159158         




------- Additional Comments From x3ri7yz02 sneakemail com  2008-06-07 09:15 -------
Hi Marcel,

I think that (2) is unnecessarily complicated.  But the approach in (1) seems to be what a user would anticipate and expect:  moving a tag around inside the tag tree should update images which include that tag.

Is there a case where this behaviour would be incorrect?

PS.  Could a general function to update relevant images after changes to the tag tree also help solve bugs like #152199?
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 159158] Tags moved in tree are duplicated in the IPTC metadata

Gilles Caulier-4
In reply to this post by Jean-Marc Liotier-2
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=159158         




------- Additional Comments From caulier.gilles gmail com  2008-06-12 18:34 -------
To Marcel #6,

I vote for 1). It's more simple.

To x3ri7yz02 #7,

Try Tools/Update Metadata Database menu entry

Gilles Caulier
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 159158] Tags moved in tree are duplicated in the IPTC metadata

Geoff King-4
In reply to this post by Jean-Marc Liotier-2
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=159158         




------- Additional Comments From gsking1 gmail com  2008-06-13 14:39 -------
Considering #2 - What about iptc fields that Digikam doesn't use? They could become unnecessarily deleted if you remove all iptc.  In my case last year I had some old tags in "supplemental categories" and some other iptc fields that would not have been repopulated using this method.  This might be useful:
exiv2 -v -M"del Iptc.Application2.Keywords" [filename]

Also for anyone interested Arnd and I both wrote scripts to scan directories and remove tags using this method last December.  They should be available on the mailing list. One example: http://mail.kde.org/pipermail/digikam-users/2007-December/004507.html
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel