Bug 170784

Summary: Metadata XMP Tab Simple List should show more metadata
Product: [Applications] digikam Reporter: Geoff King <gsking1>
Component: Metadata-XmpAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: caulier.gilles
Priority: NOR    
Version: 0.10.0   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In: 0.10.0
Sentry Crash Report:

Description Geoff King 2008-09-10 03:11:13 UTC
Version:           0.10.0-beta4 (rev.: 859302) (using 4.1.1 (KDE 4.1.1), Kubuntu packages)
Compiler:          gcc
OS:                Linux (i686) release 2.6.24-19-generic

When I view XMP Metadata I prefer the "Simple List" button when possible.  There should be more useful data in this section.  For example on an example photo under the XMP tab all I see is "Rating", but under IPTC I see the "Caption".  EXIF, IPTC, and XMP should all show a "Caption" or "Description" or "User Comment" if available. I would think that the XMP tab should be similar to the IPTC in what it shows.  Maybe this is more difficult than I suggest due to all the different variations of names and photos and programs out there?
Comment 1 Mikolaj Machowski 2008-12-08 16:53:48 UTC
Confirming:

IPTC and XMP short lists should be synchronized. Exif is more technical so complete sync is impossible but some attempts should be done also there.

Comment 2 caulier.gilles 2008-12-09 08:17:59 UTC
To Geof,

To have an homogenous report from IPTC and XMP with simple view is easy, but take a care that XMP do not support all IPTC tags. Some have been removed and are considerated as obsolete in specification.

Look here the list of tags for Simple mode (named HumanList in code)

IPTC: http://lxr.kde.org/source/extragear/graphics/digikam/libs/widgets/metadata/iptcwidget.cpp#045

XMP: http://lxr.kde.org/source/extragear/graphics/digikam/libs/widgets/metadata/xmpwidget.cpp#045

Like you can see, i have already synchronized contents of default XMP/IPTC tags.


To Mik #1,

About to sync XMP using Exif and IPTC (and vice versa), i remember that something like that must be in Exiv2. I don't know if Andreas as implemented this features in 0.18. 

But sync metadata is not the problem of this entry. Metadata panel only show real contents of metadata area from image. We will not make something virtual.

Comment 3 caulier.gilles 2008-12-09 08:53:26 UTC
I forget to said that human list strings are search into tag names as weel.

A tag name is for ex "Iptc.Application2.Caption" or "xmp.dc.description"

List of tags are given here :

http://www.exiv2.org/metadata.html

Gilles Caulier
Comment 4 caulier.gilles 2008-12-09 09:10:52 UTC
SVN commit 894700 by cgilles:

metadata list view : interpret metadata tags names as case insensitive.
CCBUGS: 170784


 M  +1 -1      metadatalistview.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=894700
Comment 5 caulier.gilles 2008-12-09 09:12:08 UTC
Geoff,

With rev. # 894700, tags names are filtered using insensitive case. Let's me hear if it's better for you ?

Gilles Caulier
Comment 6 Mikolaj Machowski 2008-12-09 18:43:36 UTC
In context of this bug I was thinking exclusively about visual sync :)
Comment 7 Geoff King 2008-12-10 04:27:48 UTC
I think that is an improvement.  

Probably a different wish:  I think part of my problem in the XMP section is with all of the technical jargon that is displayed such as "dc" and "tiff" and "photoshop", etc. From my perspective and use most of this terminology seems unnecesary to be presented to the user. I'd much rather see a simple list of data such as:

Description   Dog on the Beach
State  Florida
Rating 3

rather than...
dc
Description   Dog on the Beach
photoshop
State  Florida
xmp
Rating 3
Comment 8 Mikolaj Machowski 2008-12-10 17:20:27 UTC
#7 For simple view probably justifiable wish. Full list should show full names.

I am more and more convinced that instead of configurable per type list of metadata there should be additional sub-panel where you could mix various type of data as you wish: eg. compare captions in exif, iptc, xmp, see filename, date, etc.
Comment 9 caulier.gilles 2008-12-10 19:22:27 UTC
Mik,

I'm not agree with this viewpoint. For me, Metadata view still a technical area. If you want an user friendly resume, use image properties tab

Also, i don't want to create virtual tags to synchronize XMP using Exif and Iptc. Metadata view must still a real data view. 

A customize list of tags to display in a dedicated tabs can be a solution, where Exif, IPTC and XMP can be merged. But EXIF, IPTC, and XMP must show the real contents of metadata containers from image. But it's problem already reported in another bugzilla file.

Gilles
Comment 10 caulier.gilles 2008-12-11 08:20:54 UTC
To Geoff #7:

You said "I think that is an improvement."...

Do you mean that commit #894700 solve problem relevant of this file ?

About jargon:

"part of my problem in the XMP section is with all of the technical jargon that is displayed such as "dc" and "tiff" and "photoshop", etc."

"dc", "tiff", etc... are real XMP section names... Of course i can give a more user friendly name as "dc" = "Dublin Core". I will take a look.

NOTE : for others wishes, please file new files, else it's very difficult to solve bugzilla entries, it take a while to cleanup and review later. 

Thanks in advance

Gilles
Comment 11 caulier.gilles 2008-12-11 09:37:44 UTC
SVN commit 895616 by cgilles:

digiKam from trunk : use XMP sub-section translations instead real name. Look this screenshot for details:
http://www.flickr.com/photos/digikam/3100060706/sizes/o/in/pool-817639@N22/
BUG: 170784



 M  +24 -7     mdkeylistviewitem.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=895616
Comment 12 Geoff King 2008-12-11 13:18:47 UTC
Yes I think this specific bug can be closed. 
I like the change you just made (commit 895616). I think it helps to use the translated names.  

Agreed - another bug/wish is in order for a more thorough organizing (Mik #8 and maybe syncing XMP and IPTC).  I'll have to think about this one. 
Thanks, Geoff