Bug 161988

Summary: Collapse of keyword tree
Product: [Applications] digikam Reporter: Julian Klein <klei6b05>
Component: Tags-KeywordsAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: wishlist CC: caulier.gilles
Priority: NOR    
Version: 0.9.3   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In: 4.3.0
Sentry Crash Report:

Description Julian Klein 2008-05-12 08:55:14 UTC
Version:            (using KDE 3.5.9)
Installed from:    SuSE RPMs

On digikam startup the keyword tree is automatically expanded at all levels. This makes it very difficult to find a single keyword, if the tree gets a little bit larger. It would be nice to have the possibility to automatically collapse all of the tree's nodes.
Comment 1 caulier.gilles 2008-05-12 15:31:54 UTC
Chris,

Your entry is invalid. All work fine for me. Why ? see below:

1/ digiKam remember all treeview state between session. If all treeview is collapsed before to close digiKam, you will see this view as well at the next session.

2/ On the bottom of all treeview (tags included), there is now a search text filter to easy and speedly find something in tree.

Gilles Caulier
Comment 2 Julian Klein 2008-05-12 15:37:34 UTC
Can't reproduce #1. Each time I start up digikam all keywords are expanded. digikam don't seems to remember anything about which keywords are collapsed.

Thanks for the hint in #2. I'll try to use this more often.
Comment 3 krienke 2008-05-12 18:20:38 UTC
I can confirm #1 for digikam 0.9.4 beta4. Each and every time I start digikam, the keyword tree in the sidetab is completely expanded no matter how it looked like when I closed digikam the last time. Would be nice if digikam really would keep the previous state of keywordtree-expansion.
Comment 4 Julian Klein 2008-05-13 18:01:34 UTC
Should I close this (whishlist) issue and open a new bug report?
Comment 5 caulier.gilles 2008-05-13 18:44:07 UTC
Chris,

No need to close it. the file is fine for me...

Gilles 
Comment 6 Andi Clemens 2008-11-07 17:10:25 UTC
Gilles,

for me the tree is saved, tested with the KDE4 version of digiKam. Also the new collapse patch should handle the expand when searching for keywords.

About the initial problem: Now that we have collapseView() function, a button could be added to collapse the tree and only expand to the current viewed album. Like it would do if you use the clear button in the klineedit widget.

Andi
Comment 7 caulier.gilles 2008-11-07 17:25:43 UTC
Andi, 

Where you you want to place this new button ? Why not to use treeview contextual pop-up menu instead (where all others options are already hosted) ?

Gilles Caulier
Comment 8 Andi Clemens 2008-11-07 17:48:29 UTC
Sure, this is also a possibility :-)
Right now I'm trying to fix the problem that not all folderviews save their states. For example TagFilterView and TAlbumListView are not doing this. Then we can discuss if such an option is really necessary.

Andi
Comment 9 caulier.gilles 2012-09-23 08:05:12 UTC
Andi,

Something news here, about a patch ?

Gilles Caulier
Comment 10 caulier.gilles 2013-12-01 23:23:19 UTC
Julian,

Outside the previous comment to Andi, the original problem of this entry still valid using digiKam 3.5.0 ?

Giles Caulier
Comment 11 caulier.gilles 2014-09-01 16:20:52 UTC
The original problem do not exist using current implementation from git/master.

Tags tree-view status is properly restored between sessions

Gilles Caulier