Bug 184187

Summary: tags displayed with their full path
Product: [Applications] digikam Reporter: David <rylleman>
Component: Tags-EngineAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: marcel.wiesweg
Priority: NOR    
Version: 0.10.0   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In: 0.10.0
Sentry Crash Report:
Attachments: 0.10 tag behavior
image with tags
Tags displayed on icon view with digiKam 0.10.0-rc2

Description David 2009-02-12 23:58:56 UTC
Version:           0,10.0 rc1 (using KDE 4.2.0)
OS:                Linux
Installed from:    Ubuntu Packages

In album view the tags displayed under the images shows the full path to every tag; "mytags/group1/subgroup3/actual_tag".

Expected behavior is to display only the tags. Not their full path. 
(Worked properly in 0.9.x)
Comment 1 David 2009-02-13 00:00:24 UTC
Created attachment 31258 [details]
0.10 tag behavior

This screenshot shows how 0.10.0 rc1 displays tags in images.
Comment 2 caulier.gilles 2009-02-13 06:01:15 UTC
David, 

Can you attach the image to this bugzilla file (or a link to). The image must contents all original metadata (exif, iptc, and xmp)

Gilles Caulier
Comment 3 David 2009-02-13 08:59:15 UTC
Created attachment 31261 [details]
image with tags

This is the same image as in the screenshot above.
The XMP IPTC tags says "katt" and "Greta" (verified in Eye of Gnome 2.24.1). In Digikam these tags shows up with the full path to them in Digikams hierarchy; "07_Djur/Husdjur/Greta" and "07_Djur/Djur_Allmänt/arter/katt".
It's like this for all my images in my collections, both newly created and imported from Digikam 0.9.x.
Comment 4 caulier.gilles 2009-02-13 09:38:20 UTC
Created attachment 31262 [details]
Tags displayed on icon view with digiKam 0.10.0-rc2

David, it's not reproducible here. After to import your jpg file to my collection using current digiKam implementation for svn, all is fine.
Comment 5 David 2009-02-13 09:47:18 UTC
Alright, but as you can see from my first screenshot I've got the problem, it's not just in my head...

So are there any other information from me you could use to investigate this further?
Comment 6 Marcel Wiesweg 2009-02-13 16:01:34 UTC
I'm not sure if this is a misunderstanding here.
If an image is tagged 07_Djur/Husdjur/Greta then the full path is displayed in album view. I think this has always been like that, but I can imagine a wish to display in a saner way.
Gilles, this image obviously has only simple Iptc tags set, so importing it you won't get the hierarchy. Assign any hierarchical tag to any image to reproduce.
If I understand right and the actual complaint is that the full path is displayed for a tag that has this path rightfully, then this qualifies as a wish.
Comment 7 David 2009-02-13 17:19:57 UTC
Marcel.
The tags were displayed as only the tag without the full path to it in 0.9.x.
As you can see in the image I attached, the tags are "katt" and "Greta", it's when those tags are nested in a tags hierarchy in Digikam 0.10 that the full tag hierarchy path are shown.

Looking at this entry in the Digikam manual for tags; http://docs.kde.org/kde3/en/extragear-graphics/digikam/using-sidebar.html#using-sidebarcommentstags
Tags are displayed as they should. But the behavior I got would in this example be shown as "Places/Ile de Ré/La Flotte,Places/Ile de Ré/La Flotte/Chanteliers". 

It's not a wish, it's a bug.

Tags were displayed properly in 0.9.x. In 0.10.0 rc1 they are displayed with the full path to them.
Comment 8 Marcel Wiesweg 2009-02-21 22:51:36 UTC
SVN commit 929687 by mwiesweg:

Display tag names, as we did in 0.9, not paths.

BUG: 184187

 M  +1 -1      albumiconitem.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=929687
Comment 9 Marcel Wiesweg 2009-02-21 23:39:08 UTC
SVN commit 929715 by mwiesweg:

Backport:
Display tag names, as we did in 0.9, not paths.

CCBUG: 184187

 M  +1 -1      albumiconitem.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=929715