SUMMARY In the left sidebar (folders/albums/tags/timeline/faces), and in the right sidebar in every tree view, Ctrl+mouse click on a ">" or "v" arrow should not just expand or collapse the clicked node, but all nodes on the same level (siblings). This works in many apps, and is a huge time saver if you want to expand/collapse a tree view of any kind. I think this cannot be a configuration option (right?), but I see no reason to not make this the default behaviour. Is this feasible to be implemented in Digikam's tree view widget by default, so that it works in all tree views?
Dolphin shows the same behavior here as digiKam, CTRL also does not open/collapse the sub-nodes. In which programs is it implemented in this way? Do you know the options in digiKam's right mouse button menu? Maik
Here are the available keys explained for a QTreeView: https://doc.qt.io/qt-6/qtreeview.html#key-bindings You can expand everything recursively with the Asterisk key (*). Maik
My experience comes mainly from (commercial) Windows software. Maybe this is a default feature of some Windows library, WinForms, Win32, whatever .. I don't know. I just think this improves efficiency immensely when navigating through large trees of any kind. Thanks for the hint about the context menu.
True. My use case is rather something like this: I have albums called 2009 .. 2022, each full of subalbums, all expanded. I want to collapse all these albums by one level. Right now I can collapse/expand *everything*, and collapse/expand *one* object on all levels, but I cannot collapse/expand *all* sibling objects by *one* level. Also not with the options in the context menu, unless I have overlooked something.
Hmm, I can recursively expand and collapse a node with all its sub-items, tested with the Windows version. Maik
Yes, and I want to expand and collapse a node with all of its *siblings*, but just one level deep. This is a different feature :-)