[Bug 199981] New: XMP synchronization of digiKam namespace occurs for second tag

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

[Bug 199981] New: XMP synchronization of digiKam namespace occurs for second tag

Tim Jenness
https://bugs.kde.org/show_bug.cgi?id=199981

           Summary: XMP synchronization of digiKam namespace occurs for
                    second tag
           Product: digikam
           Version: 1.0.0-beta2
          Platform: Gentoo Packages
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: [hidden email]
        ReportedBy: [hidden email]


Version:           1.0.0-beta2 (using KDE 4.2.4)
OS:                Linux
Installed from:    Gentoo Packages

I have enabled the synchronization of metadata to files. In version 1.0.0-beta2
if I add a tag to a file the XMP metadata tab is updated in digikam to reflect
that an XMP section has been written but the digiKam section is not present.
The file includes the following XMP information:

Xmp.tiff.Software                            XmpText    19  digiKam-1.0.0-beta2
Xmp.tiff.DateTime                            XmpText    19  2007-05-13T14:52:58
Xmp.xmp.CreatorTool                          XmpText    19  digiKam-1.0.0-beta2
Xmp.xmp.CreateDate                           XmpText    19  2007-05-13T14:52:58
Xmp.xmp.MetadataDate                         XmpText    19  2007-05-13T14:52:58
Xmp.xmp.ModifyDate                           XmpText    19  2007-05-13T14:52:58
Xmp.exif.DateTimeOriginal                    XmpText    19  2007:05:13 14:52:58
Xmp.photoshop.DateCreated                    XmpText    19  2007-05-13T14:52:58

Adding a second tag leads to the digiKam section appearing in the XMP metadata
tab and in the file (and the lr. namespace appears in the file). In my testing
the other day I got the impression that adding an additional tag would not
appear until the tag after was added but I can not reproduce this now. It just
seems that digiKam tags are not synched until there are at least two so it
looks like an off by one error in the code somewhere.

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 199981] XMP synchronization of digiKam namespace occurs for second tag

Gilles Caulier-4
https://bugs.kde.org/show_bug.cgi?id=199981


Gilles Caulier <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|general                     |Metadata




--- Comment #1 from Gilles Caulier <caulier gilles gmail com>  2009-07-13 23:43:56 ---
Code is there :

http://lxr.kde.org/source/extragear/graphics/digikam/libs/dmetadata/dmetadata.cpp#578

and this method is called from there :

http://lxr.kde.org/source/extragear/graphics/digikam/digikam/metadatahub.cpp#643

Gilles Caulier

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 199981] XMP synchronization of digiKam namespace occurs for second tag

Tim Jenness
In reply to this post by Tim Jenness
https://bugs.kde.org/show_bug.cgi?id=199981





--- Comment #2 from Tim Jenness <tim jenness gmail com>  2009-07-14 00:08:57 ---
Thanks. I'll try to rebuild digikam with some debugging to see whether it
enters that routine the first time. Do you see the behaviour that I see or does
it all seem to work for you?

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 199981] XMP synchronization of digiKam namespace occurs for second tag

Gilles Caulier-4
In reply to this post by Tim Jenness
https://bugs.kde.org/show_bug.cgi?id=199981





--- Comment #3 from Gilles Caulier <caulier gilles gmail com>  2009-07-14 00:11:30 ---
For me add/remove tag work fine here. but perhaps i miss something...

Gilles

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 199981] XMP synchronization of digiKam namespace occurs for second tag

Tim Jenness
In reply to this post by Tim Jenness
https://bugs.kde.org/show_bug.cgi?id=199981





--- Comment #4 from Tim Jenness <tim jenness gmail com>  2009-07-14 00:17:23 ---
Works for me as well. It's only when I start with an untagged photo without any
XMP or IPTC information and then tag it that I get the partial write of XMP
information. When the second tag is added the first tag is also written to the
file and then I can add and delete whatever I want. Will try the test again
tonight.

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 199981] XMP synchronization of digiKam namespace occurs for second tag

Tim Jenness
In reply to this post by Tim Jenness
https://bugs.kde.org/show_bug.cgi?id=199981


Tim Jenness <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID




--- Comment #5 from Tim Jenness <tim jenness gmail com>  2009-07-14 08:31:08 ---
Rebuilt the whole thing and now it does work and writes the tag instantly.
Sorry for the noise. I wonder if it was caused by the program originally being
built against an exiv2 0.18 that did not have XMP enabled...

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 199981] XMP synchronization of digiKam namespace occurs for second tag

Gilles Caulier-4
In reply to this post by Tim Jenness
https://bugs.kde.org/show_bug.cgi?id=199981


Gilles Caulier <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Version|1.0.0-beta2                 |1.0.0




--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel