I select "expand all groups" in the message list every time I open Kmail but, after a restart Kmail randomly collapses many of the groups again. I expect Kmail to remember to keep everything expanded.
This problem persists and is quite annoying. Arch Linux Plasma 5.16.0 Kf5 5.59 Qt 5.12.4