There is no option to expand all folders including subfolders. This functionality would be super helpful.
Git commit 167d367f4397a30c096b2a4e597e4a91dcb3d049 by Laurent Montel. Committed on 06/10/2025 at 11:57. Pushed by mlaurent into branch 'master'. Add expandAll/collapseAll M +4 -1 src/kmail_part.rc M +20 -0 src/kmmainwidget.cpp M +2 -0 src/kmmainwidget.h M +4 -1 src/kmmainwin.rc https://invent.kde.org/pim/kmail/-/commit/167d367f4397a30c096b2a4e597e4a91dcb3d049
*** Bug 511523 has been marked as a duplicate of this bug. ***
This expands/collapses all subfolders in your tree. Would it be very hard to change the implementation and apply the expansion/collapse only to the folders hanging from the one you clicked? If someone wants to expand collapse/all, they could just do it by clicking on the top folder. I've got a huge folder structure in my mail, so I'd never want to expand all of the folders at once. But expanding them only below a certain folder does seem helpful.