Bug 380521

Summary: Show only assigned leafmost tags of hierarchical tags
Product: [Applications] digikam Reporter: Jaakko Luttinen <jaakko.luttinen>
Component: Tags-EngineAssignee: Digikam Developers <digikam-bugs-null>
Status: REPORTED ---    
Severity: wishlist CC: caulier.gilles, freisim93, imolb
Priority: NOR    
Version: 5.4.0   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:

Description Jaakko Luttinen 2017-06-03 19:45:22 UTC
I really like hierarchical tags. Let's assume I have the following hierarchy:

- Parent
  - Child1
  - Child2

If I tag an image with Child2, I would expect that Parent tag is implicitly given too. I suppose that's optional in digikam, so be it. But in Thumbnails view, I wouldn't want to see any parent tags of a chosen child tag. So in my example, the thumbnail view would show only Child2 tag, but not Parent tag (even though it's assigned too). Because I'm using the hierarchies a lot and sometimes rather deep, I get a huge amount of tag labels in each image although I have only chosen perhaps 1-3 leaf tags. This is really annoying.

I don't quite understand the use case for assigning a child tag but not its parents. But I guess some people like to do that and they probably want then to see all the assigned tags. I would rather assign the parent tags implicitly but only show the assigned leaf tags (or assigned tags which have no assigned child tags). So I would hope there at least would be an option for Thumbnails view to hide those tags that have child tags that have been assigned too.

I hope I was able to describe this clearly. Does this make sense to you?
Comment 1 Simon 2017-06-03 19:50:03 UTC
You can set parents, children or both automatically. Right click in the tags area, choose "Toggle Auto".
Comment 2 caulier.gilles 2020-08-02 12:58:38 UTC
Jaakko, 

Did you seen the previous comment from Simon ?
Comment 3 Blomi 2021-06-27 11:30:24 UTC
I assume, this bug it not about setting the tags, but about showing.

If in the example below the tags are set as follows

[X] Parent
   [ ] Child1
   [X] Child2

Currently digikam 7.2.0 shows two lines in the mouseover of the thumbnail view:
Parent
Parent/Child2

Jaakko suggest to only show the leafs, so only one line:
Child2

Other option would be, to show the whole path, but not the redundant parents:
Parent/Child2

If the tag tree hierarchy is quite deep, the current implementation leads to a lot of useless information lines in the mouseover.