Deleting virtual folders makes the imap- folder list disappear for at least 5 minutes without optical feedback that kmail2 is working. Once the folder list comes back, kmail2 is in a dire state and will ultimately crash with 100% on one of the cores. Reproducible: Always Steps to Reproduce: To reproduce: 1. Start a search in your imap - account in some folder (or all). 2. Accept to create a virtual folder (last-search). 3. Search (completes without problems) 4. After the search, look at some messages. 5. Then delete this virtual folder (last search) Actual Results: Now the imap - account disappears from the folder-list (left) and eventually re-appears after 5-6 minutes (seems to depend on how large the imap account is). No feedback on processing is given. Now kmail2 is in a dire state. Some new arbitrary folder appears in the favorites. After some time, kmail2 starts using 100% of one core. Expected Results: The virtual folder is deleted without re-processing everything and kmail remains in a stable state. Luc Montel confirmed the behaviour and said it has to do with the ETM
It's an ETM bug. Christian knows this class.
Turned out to be a KRecursiveFilterProxyModel bug, actually. Fix coming up. *** This bug has been marked as a duplicate of bug 349789 ***