Bug 197399

Summary: Tree view for tag hierarchy doesn't expand when selecting "tags already assigned"
Product: [Applications] digikam Reporter: Gandalf Lechner <gandalflechner>
Component: Tags-EngineAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: dkde
Priority: NOR    
Version: 1.0.0   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In: 1.0.0

Description Gandalf Lechner 2009-06-21 17:54:46 UTC
Version:           1.0.0-beta2 (rev.: 984861M) (using 4.2.90 (KDE 4.2.90 (KDE 4.3 Beta2)), Kubuntu packages)
Compiler:          cc
OS:                Linux (x86_64) release 2.6.28-13-generic

The title says it all ... 

Since the tag tree does not expand, clicking "tags already assigned" does not show the assigned tags immediately, because the user has to expand tags with subtags until he sees what he was looking for. This can be annoying with a multi level hierarchy.
Comment 1 caulier.gilles 2009-06-21 18:32:35 UTC

*** This bug has been marked as a duplicate of bug 196925 ***
Comment 2 Andi Clemens 2009-10-25 02:01:22 UTC
SVN commit 1039952 by aclemens:

Fix expanding of tags folder view....

BUG:197399

 M  +15 -1     imagedescedittab.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1039952
Comment 3 Andi Clemens 2009-10-25 02:02:53 UTC
*** Bug 196925 has been marked as a duplicate of this bug. ***
Comment 4 DGardner 2009-12-09 21:24:13 UTC
This works a bit better in rc1, but if I have the tag tree open to
show various tags and then click "Tags already assigned" and then
click it again to return to the full tree view, the expansion state
of the tree is completely lost; I have to expand things to they way
there were all over again, which can take quite a bit of time. This
probably isn't a new problem, but the "Tags already assigned" button
was useless before, so I never used it until now.

I'd prefer if the expansion state was restored to what it was before
selecting "Tags already assigned" or even if the state was set to the
full tree with the same nodes expanded as in the "Tags already assigned"
view (but will all the unassigned sibling tags showing). Either would
be better than the current behaviour. However, the current behaviour
does make up for the fact that there is no option to collapse all of
the tags even if I want to, so I suppose the problem could be solved
by renaming "Tags already assigned" to "Collapse all tags" once it has
been pressed!