Bug 117242

Summary: Tag hierarchy should be managed automatically
Product: [Applications] digikam Reporter: Jesús Jiménez <jesjimenez>
Component: Tags-EngineAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED WORKSFORME    
Severity: wishlist CC: caulier.gilles
Priority: NOR    
Version: 0.8.0   
Target Milestone: ---   
Platform: Debian testing   
OS: Linux   
Latest Commit: Version Fixed In: 7.6.0
Sentry Crash Report:

Description Jesús Jiménez 2005-11-28 23:42:46 UTC
Version:           0.8.0 (using KDE KDE 3.4.2)
Installed from:    Debian testing/unstable Packages
OS:                Linux

I usually create tags for both people and places. In order to organize them, I group them in tree-like categories, something like "Paris" and "Marseille" being children tags of "France", "John" and "Mary" being children tags of "Friends" while "Mom" and "Dad" being children tags of "Family", and so on. The problem is that, right now, if I tag a picture as "Paris", I must also manually tag it as "France". 

This is a quite annoying behaviour, because I usually only set bottom-level tags and, when I try to show, let's say, all France pictures, no one is shown because I've only set the cities name. I think the logical behaviour for digikam when a tag is set, would be to automatically set all of his parent tags or, said in other words, when a tag with children tags is selected, all pictures of her children tags should be shown. 

I don't know why anyone would prefer the current behaviour of independently setting parent and children tags. After all, a tree categorization implies that there's a relation between a parent and their children, and managing them as if they were independent is quite counter-intuitive.
Comment 1 Tom Albers 2005-11-29 09:59:36 UTC
It does exactly what you want, only you can not see it explicitly, if you select the mother tag france, paris will be shown.
Comment 2 Werner (flixor) 2005-11-29 14:50:51 UTC
Op dinsdag 29 november 2005 09:59, schreef Tom Albers:
[bugs.kde.org quoted mail]

"It does exactly what you want, only you can not see it explicitly, if you
 select the mother tag france, paris will be shown." 

This sounds a bit strange, because you dont want that kind of behaviour when  
you select the mother tag and then all the childrens are selected.  There is 
for each mother tag a relation ship with each child,  however not with all 
childs, but all childs have always have a relation ship with the mother tag. 
So at this moment digikam is not exactly doing what the writer wants. And 
what in my opinion is more logical behaviour.
Comment 3 Jesús Jiménez 2005-11-29 15:58:02 UTC
Ops, you're right, Tom, it already works this way. It seems that I hadn't correctly tagged some of my pictures (so obviously the tag-based search didn't work well), and seeing that only children tags where checked led me to a wrong conclusion.

Anyway, I think that parent tags should be automatically checked when user checks a tag (or at least let it work this way with an option). Current behaviour is a little bit counter-intuitive.

Thanks for your attention and sorry for the confusion.
Comment 4 Tom Albers 2005-11-29 21:15:18 UTC
Werner: we think this system will work for most users, I agree it is a difficult area, but we have tried to make it as intuitive as we could.