Steps to reproduce: - Enable message threading in the message list - Try to remove a collapsed thread The thread is correctly removed from the server, but not from the kmail message list until kmail is restarted.
I can confirm this bug. Same software version, same description.
Actually this is unrelated to threading. The issue happens whenever one selects more than one message from the list and tries to delete them
I can confirm the bug, but I cannot reproduce it reliably.
*** Bug 380824 has been marked as a duplicate of this bug. ***
The new if (with early return) from commit 2edac82af (https://phabricator.kde.org/D5552, Martin Koller) is the reason for this bug. When moving (not deleting) multiple messages from a folder (including moving to trash, or archiving), the early return hits and the ETM doesn't notify of the removal.
Which I fixed with this https://phabricator.kde.org/D5711
Which is not in 17.04 so the fix is not in 17.04 branch => the bug is still here indeed.
Fix backported to https://commits.kde.org/akonadi/2dc7fbf569ba3f7eeef98fb818d7af0820caf7a3.
*** Bug 381008 has been marked as a duplicate of this bug. ***
*** Bug 385159 has been marked as a duplicate of this bug. ***