Bug 380521 - Show only assigned leafmost tags of hierarchical tags
Summary: Show only assigned leafmost tags of hierarchical tags
Status: REPORTED
Alias: None
Product: digikam
Classification: Applications
Component: Tags-Engine (show other bugs)
Version: 5.4.0
Platform: Other Linux
: NOR wishlist
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-06-03 19:45 UTC by Jaakko Luttinen
Modified: 2021-06-27 11:30 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.