[digikam] [Bug 327391] New: Digikam doesn't seem to recognize tags created by external programs.

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

[digikam] [Bug 327391] New: Digikam doesn't seem to recognize tags created by external programs.

Tracer Bullet
https://bugs.kde.org/show_bug.cgi?id=327391

            Bug ID: 327391
           Summary: Digikam doesn't seem to recognize tags created by
                    external programs.
    Classification: Unclassified
           Product: digikam
           Version: unspecified
          Platform: Mint (Debian based)
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: Tags
          Assignee: [hidden email]
          Reporter: [hidden email]

I can add a tag to a picture in Digikam and see it show up in the IPTC metadata
using IrfanView (on WINE).  If I add another keyword to the IPTC metadata using
IrfanView, Digikam will show that keyword in the IPTC metadata, but the keyword
shows up neither in the list of defined tags nor as one of the tags displayed
under the photo's thumbnail.  I have done this with Digikam closed, and I have
told Digikam to re-load the metadata -- but the added info still does not show
up as a tag.  This issue also occurs for files that have not been pre-tagged in
Digikam.

Is this a bug? I'm assuming Digikam stores tags as simple keyword values in the
IPTC metadata, and when I looked at the metadata in IrfanView, I saw no special
flags (such as a "digikam:" prefix). If this is the case, why isn't it
recognizing the tag created in IrfanView, even after telling Digikam to reload
the metadata?

(A little background: I am moving from Picasa to Digikam; I plan to add a
"PicasaStar" tag to each starred picture, so I can easily filter and re-tag the
photos in Digikam. I have a list of all starred photos (from reading in all the
.picasa.ini files. I haven't yet experimented with exiv for batch writing the
tag, but I'd expect that an IPTC editor is an IPTC editor and IrfanView would
be  reasonable test.)

Reproducible: Always

Steps to Reproduce:
1. Add a keyword to the IPTC metadata for a photo (I used IrfanView under
WINE). Digikam can be opened or closed.
2. View that photo in Digikam and reload the metadata. The added keyword will
be present under the listed IPTC metadata, but it will not show up as a tag.
(It appears neither in the list of defined tags nor below the thumbnail where
tags are displayed.)
3.
Actual Results:  
The added IPTC keyword shows up in Digikam when viewing metadata (in exactly
the same fashion as Digikam-added tags do), but the added keyword doesn't show
up as a tag.

Expected Results:  
Digikam should see the keyword, recognize it as a tag, and then display the tag
in the list of tags, show it under the thumbnail, and allow filtering by that
tag.

I'm running Linux Mint 15 (with Cinnamon)

--
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
|

[digikam] [Bug 327391] Digikam doesn't seem to recognize tags created by external programs.

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

Gilles Caulier <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]

--- Comment #1 from Gilles Caulier <[hidden email]> ---
After to have patched tags with another application, just resync digiKam
database with image metadata info using right option from main menu. You can
also use option from the bottom of Captions/tags panel from the right sidebar,
or use Maintenance tool.

Gilles Caulier

--
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
|

[digikam] [Bug 327391] Digikam doesn't seem to recognize tags created by external programs.

Tracer Bullet
In reply to this post by Tracer Bullet
https://bugs.kde.org/show_bug.cgi?id=327391

--- Comment #2 from Tracer Bullet <[hidden email]> ---
Upon further investigation, I've re-confirmed the behavior.  When there are no
tags or captions or titles, adding those elements via IrfanView works fine --
Digikam sees them as such when it re-synchs the metadata. However, if Digikam
first adds a tag to that photo, subsequent keyword additions by IrfanView will
*not* show up as tags in Digikam. Likewise for captions and titles -- even
after re-synching the metadata, the caption and title shown are the previous
ones (written by Digikam), not the latest (written by IrfanView); it is this
(older and now obsolete) information that is shown under the thumbnail and in
the Caption/Tags pane (under the Description tab). Oddly, just as I found in
the case of tags, if I look at the IPTC tab of the Metadata pane, the updated
captions and titles are shown.

So... I don't know what the problem is, but it's definitely there, and it's
far-ranging enough to affect captions, titles, and tags. In summary: if Digikam
makes a tag/caption/title first, then subsequent tags/captions/titles aren't
read/displayed correctly, even after re-synching.

(In reply to comment #1)
> After to have patched tags with another application, just resync digiKam
> database with image metadata info using right option from main menu. You can
> also use option from the bottom of Captions/tags panel from the right
> sidebar, or use Maintenance tool.
>
> Gilles Caulier

Thanks, Gilles. I had tried one of those (and have since tried the other two),
but it's not finding the added keywords, even after re-synching the metadata
(see above).

--
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
|

[digikam] [Bug 327391] Digikam doesn't seem to recognize tags created by external programs.

Gilles Caulier-4
In reply to this post by Tracer Bullet
https://bugs.kde.org/show_bug.cgi?id=327391

--- Comment #3 from Gilles Caulier <[hidden email]> ---
Tracer,

Can you share some files which have been tagged with IrfanView ? If IrfanView
generate XMP sidecars, please join also the relevant files.

Thanks in advance

Gilles Caulier

--
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
|

[digikam] [Bug 327391] Digikam doesn't seem to recognize tags created by external programs.

Tracer Bullet
In reply to this post by Tracer Bullet
https://bugs.kde.org/show_bug.cgi?id=327391

--- Comment #4 from Tracer Bullet <[hidden email]> ---
Created attachment 83508
  --> https://bugs.kde.org/attachment.cgi?id=83508&action=edit
Applied metadata using IrfanView, re-loaded metadata in Digikam, then applied
metadata in Digikam

In IrfanView, I applied a tag (IrfanViewTag), a caption (IrfanViewCaption), and
a title (IrfanViewTitle). I then re-loaded the metadata in Digikam and added a
tag (DigikamTag) and changed the caption (DigikamCaption) and title
(DigikamTitle).  Digikam displays everything correctly in this case. Both tags
are present and the caption and title are the latest versions.

--
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
|

[digikam] [Bug 327391] Digikam doesn't seem to recognize tags created by external programs.

Tracer Bullet
In reply to this post by Tracer Bullet
https://bugs.kde.org/show_bug.cgi?id=327391

--- Comment #5 from Tracer Bullet <[hidden email]> ---
Created attachment 83509
  --> https://bugs.kde.org/attachment.cgi?id=83509&action=edit
Applied metadata using Digikam, then applied metadata using IrfanView.

In Digikam, I applied a tag (DigikamTag), a caption (DigikamCaption), and a
title (DigikamTitle). I then opened the image in IrfanView, added a tag
(IrfanViewTag) and changed the caption (IrfanViewCaption) and title
(IrfanViewTitle).  In Digikam, I re-loaded the metadata. In this case, the IPTC
data related to the tags, caption, and title shows up correctly in Digikam
(looking at the IPTC tab of the Metadata pane), but the tag, caption, and title
do not. In the Captions/Tags pane, the Description tab shows the old title
(DigikamTitle) and the old caption (DigikamCaption). In the Tags tab, only the
original DigikamTag is shown, not the IrfanViewTag. And under the thumbnail
corresponding to the image, the same (old) data is shown: DigikamTitle,
DigikamTag, and only the DigikamTag tag (rather than showing both DigikamTag
and IrfanViewTag).

--
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
|

[digikam] [Bug 327391] Digikam doesn't seem to recognize tags created by external programs.

Tracer Bullet
In reply to this post by Tracer Bullet
https://bugs.kde.org/show_bug.cgi?id=327391

--- Comment #6 from Tracer Bullet <[hidden email]> ---
(In reply to comment #3)
> Tracer,
>
> Can you share some files which have been tagged with IrfanView ? If
> IrfanView generate XMP sidecars, please join also the relevant files.
>
> Thanks in advance
>
> Gilles Caulier

I've attached a couple of files. There were no XMP sidecars created.

Hopefully these files are useful. I think they are. It *is* possible that the
bug may be that Digikam simply does not re-read the metadata correctly once it
has already been loaded. (In this case, my files wouldn't demonstrate the bug,
but one can easily replicate it.) But to test this, I created a copy of the
images in my file manager. Digikam saw the new files as they were added and it
loaded them. The same issue is present with the copies as with the original...
so the bug does appear to be in how the files are written or read from...

--
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
|

[digikam] [Bug 327391] Digikam doesn't seem to recognize tags created by external programs.

Gilles Caulier-4
In reply to this post by Tracer Bullet
https://bugs.kde.org/show_bug.cgi?id=327391

--- Comment #7 from Gilles Caulier <[hidden email]> ---
What's the difference between before and after Tags assignment, with IRFanview
? I want mean which tags have been assigned with digiKam, and after which one
have been added/removed with IRFanview ?

Gilles Caulier

--
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
|

[digikam] [Bug 327391] Digikam doesn't seem to recognize tags created by external programs.

Tracer Bullet
In reply to this post by Tracer Bullet
https://bugs.kde.org/show_bug.cgi?id=327391

--- Comment #8 from Tracer Bullet <[hidden email]> ---
(In reply to comment #7)
> What's the difference between before and after Tags assignment, with
> IRFanview ? I want mean which tags have been assigned with digiKam, and
> after which one have been added/removed with IRFanview ?
>
> Gilles Caulier

I'm not sure if I understand the question correctly... in both cases the IPTC
metadata has a DigikamTag and a IrfanviewTag keyword. No tags were removed by
either program. (Only in the case of the caption / title info was the previous
entry replaced with a new one.) So both images should have two tags, one called
"DigikamTag" and one called "IrfanviewTag". And indeed, both images do have
keywords "DigikamTag" and "IrfanviewTag" -- and Digikam sees this, which you
can see by looking at the "IPTC" tab of the Metadata pane. However, only for
one of the pictures does Digikam recognize both keywords as tags (so that they
show up under the thumbnail and in the list of defined tags). If Digikam wrote
a tag first (and IrfanView added another afterward), then Digikam only
recognizes the original tag -- it doesn't treat irfanView's tag/keyword as an
actual tag.

The same is true in the case of the captions and titles: the IPTC metadata is
there, but Digikam does not recognize the metadata as a caption or a title if
Digikam wrote some metadata first, and then IrfanView wrote some. (Again, this
is *after* reloading the metadata in Digikam.) The difference between this
situation and that of tagging is simply that there's only one "caption" or
"title" field, so rather than adding another keyword,  I replaced the caption /
title created with the first program with a caption / title created by the
second program.

--
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
|

[digikam] [Bug 327391] Digikam doesn't seem to recognize tags created by IrfanView

Gilles Caulier-4
In reply to this post by Tracer Bullet
https://bugs.kde.org/show_bug.cgi?id=327391

Gilles Caulier <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Digikam doesn't seem to     |Digikam doesn't seem to
                   |recognize tags created by   |recognize tags created by
                   |external programs.          |IrfanView

--
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
|

[digikam] [Bug 327391] Digikam doesn't seem to recognize tags created by IrfanView

Gilles Caulier-4
In reply to this post by Tracer Bullet
https://bugs.kde.org/show_bug.cgi?id=327391

--- Comment #9 from Gilles Caulier <[hidden email]> ---
I go back here : which digiKam and libkexiv2 version you use ? got to
Help/components Info for details...

Gilles Caulier

--
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
|

[digikam] [Bug 327391] Digikam doesn't seem to recognize tags created by IrfanView

Gilles Caulier-4
In reply to this post by Tracer Bullet
https://bugs.kde.org/show_bug.cgi?id=327391

--- Comment #10 from Gilles Caulier <[hidden email]> ---
The problem explained here is relevant of inter-operability.

typically, if digiKam tags image, it store tags path in a dedicated XMP
namespace, not IPTC, due to severe limitation of IPTC. XMP is so far
better/powerfull than IPTC.

If image is tagged originally by IrFanView, IPTC tags are parsed in import
workflow, as no XMP data are found. As import is done an more tagging is done
in digiKam, XMP data are added.

In next process, to tags again with IrFanView only more data as add to IPTC,
not XMP, and as XMP data already exist, IPTC are ignored...

Gilles Caulier

--
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
|

[digikam] [Bug 327391] Digikam doesn't seem to recognize tags created by IrfanView

Gilles Caulier-4
In reply to this post by Tracer Bullet
https://bugs.kde.org/show_bug.cgi?id=327391

Gilles Caulier <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Version|unspecified                 |4.0.0-beta1

--
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
|

[digikam] [Bug 327391] Digikam doesn't seem to recognize tags created by IrfanView

Gilles Caulier-4
In reply to this post by Tracer Bullet
https://bugs.kde.org/show_bug.cgi?id=327391

Gilles Caulier <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|Tags                        |Metadata

--
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
|

[digikam] [Bug 327391] digiKam doesn't seem to recognize tags created by IrfanView

Gilles Caulier-4
In reply to this post by Tracer Bullet
https://bugs.kde.org/show_bug.cgi?id=327391

Gilles Caulier <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Digikam doesn't seem to     |digiKam doesn't seem to
                   |recognize tags created by   |recognize tags created by
                   |IrfanView                   |IrfanView

--
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
|

[digikam] [Bug 327391] digiKam doesn't seem to recognize tags created by IrfanView

Gilles Caulier-4
In reply to this post by Tracer Bullet
https://bugs.kde.org/show_bug.cgi?id=327391

--- Comment #11 from Gilles Caulier <[hidden email]> ---
This entry still valid using last digiKam 4.2.0 ?

Gilles Caulier

--
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
|

[digikam] [Bug 327391] digiKam doesn't seem to recognize tags created by IrfanView

Gilles Caulier-4
In reply to this post by Tracer Bullet
https://bugs.kde.org/show_bug.cgi?id=327391

--- Comment #12 from Gilles Caulier <[hidden email]> ---
Tracer,

Please give me an image which have been ONLY tagged with IRFanview and not
touched yet with digiKam more. I would to see where IRFanview store image
information exactly.

Gilles Caulier

--
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
|

[digikam] [Bug 327391] digiKam doesn't seem to recognize tags created by IrfanView

Gilles Caulier-4
In reply to this post by Tracer Bullet
https://bugs.kde.org/show_bug.cgi?id=327391

Gilles Caulier <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Version|4.0.0-beta1                 |4.0.0

--
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
|

[digikam] [Bug 327391] digiKam doesn't seem to recognize tags created by IrfanView

Alan Pater
In reply to this post by Tracer Bullet
https://bugs.kde.org/show_bug.cgi?id=327391

Alan Pater <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]

--- Comment #13 from Alan Pater <[hidden email]> ---
Created attachment 91460
  --> https://bugs.kde.org/attachment.cgi?id=91460&action=edit
Irfanview Only Sample Image

File created in Windows Paint, keywords added using Irfanview 4.28.

Note that the term "Tags" does not appear in Irfanview, keywords were added via
IPTC Info dialog.

--
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
|

[digikam] [Bug 327391] digiKam doesn't seem to recognize tags created by IrfanView

Maik Qualmann
In reply to this post by Tracer Bullet
https://bugs.kde.org/show_bug.cgi?id=327391

Maik Qualmann <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]

--- Comment #14 from Maik Qualmann <[hidden email]> ---
I can actually find no fault with the test image from comment 13. The keywords
"IrfanView IPTC keywords I" and "IrfanView IPTC keywords II" are added and
image tagged. Only the digiKam "Iptc.Application2.Urgency" still used for the
rating should perhaps be changed.

--
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
12