Bug 159919

Summary: Tags hierarchy and parent/son auto-selection
Product: [Applications] digikam Reporter: rom1v
Component: Tags-EngineAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: caulier.gilles
Priority: NOR    
Version: 0.9.3   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In: 5.1.0

Description rom1v 2008-03-26 22:10:17 UTC
Version:            (using KDE 3.5.8)
Installed from:    Ubuntu Packages
OS:                Linux

When you have a hierarchy of tags, for example :
Animal
Animal > Cat
Animal > Dog

If you enable "automatically select parents" ("Activer auto > parents" in French, right-clicking on "tags"), when you select "Cat", it automatically select "Animal", very good. Then you select "Dog", very good. But when you deselect "Cat" or "Dog", "Animal" becomes deselected, while "Dog" or "Cat" is still enabled.
Comment 1 Achim Bohnet 2008-03-27 00:33:55 UTC
I can confirm this on Kubuntu Hardy with 0.9.3-2 pkgs.

AFAIU you, Romain: animal should only be deselected when the last (grant) children of this tag is deselected, not when the first is deselected.

Comment 2 rom1v 2008-03-27 00:47:08 UTC
And deselection of "Animal" should deselect all sons...
Comment 3 caulier.gilles 2008-03-27 14:04:37 UTC
For me the current auto-selection of tags is fine and generic. 

The proposal from this file sound like a specific workflow. It will be complex to solve, because it's includes new options about auto-selection which will bloat implementation and gui.

Gilles Caulier
Comment 4 songohan2 2008-04-23 10:39:43 UTC
i think the proposed behavior would be more general. 
Comment 5 Andi Clemens 2010-09-25 17:43:08 UTC
Closing some old bugreports that are related to old digiKam version, and that have not received answers for two years now.

If you think the reports are still valid, feel free to re-open them, but please provide updates and do not just open them without giving feedback.
Comment 6 caulier.gilles 2015-07-04 06:01:50 UTC
New digiKam 4.11.0 is available.

https://www.digikam.org/node/740

Can you reproduce the problem with this release ?
Comment 7 caulier.gilles 2016-07-15 21:21:02 UTC
With digiKam 5.0.0, this problem is not reproducible.
I close this file now. Don't hesitate to re-open if necessary.
Gilles Caulier