Bug 326247

Summary: Add a new button to expand or collapse all album tree-view items
Product: [Applications] digikam Reporter: Lynda Metref <lynda.metref>
Component: Albums-TreeViewAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: wishlist CC: ben.voris, caulier.gilles, FalkKroenert, GenuesslichMysterioeserTapir, kde
Priority: NOR    
Version: 3.5.0   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In: 7.3.0

Description Lynda Metref 2013-10-19 04:52:39 UTC
In the Albums browsing left tab, it would be very convenient to have a way to expand or collapse all the albums with a button, like in some file explorer programs.

Reproducible: Always

Actual Results:  
Currently, all albums have to be collapsed or expanded one at a time

Expected Results:  
Being able to click on a button to collapse or expand every albums
Comment 1 caulier.gilles 2015-05-16 13:30:22 UTC
*** Bug 347018 has been marked as a duplicate of this bug. ***
Comment 2 hmueller 2020-01-17 09:06:19 UTC
I would love this feature too. Having lots of Albums with subtrees ...
Comment 3 Ben Voris 2020-02-12 17:33:06 UTC
I would like this too as, for some reason, when I tag an album, many other albums expand.
Comment 4 Maik Qualmann 2021-06-17 08:54:56 UTC
*** Bug 438794 has been marked as a duplicate of this bug. ***
Comment 5 Maik Qualmann 2021-06-21 18:27:28 UTC
Git commit e850ad97500e8de21a3c9b1037b57d9d4cb0a083 by Maik Qualmann.
Committed on 21/06/2021 at 18:26.
Pushed by mqualmann into branch 'master'.

add context menu entries to expand and collapse album nodes
FIXED-IN: 7.3.0

M  +2    -1    NEWS
M  +68   -0    core/libs/album/treeview/abstractalbumtreeview.cpp
M  +10   -0    core/libs/album/treeview/abstractalbumtreeview.h
M  +1    -0    core/libs/album/treeview/abstractalbumtreeview_p.h
M  +36   -5    core/libs/album/treeview/albumselectiontreeview.cpp
M  +0    -74   core/libs/tags/widgets/tagfolderview.cpp
M  +0    -10   core/libs/tags/widgets/tagfolderview.h

https://invent.kde.org/graphics/digikam/commit/e850ad97500e8de21a3c9b1037b57d9d4cb0a083