Bug 380182 - deleting several messages doesn't remove them from the message list
Summary: deleting several messages doesn't remove them from the message list
Status: RESOLVED FIXED
Alias: None
Product: kmail2
Classification: Applications
Component: message list (show other bugs)
Version: 5.5.1
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
: 380824 381008 385159 (view as bug list)
Depends on:
Blocks:
 
Reported: 2017-05-25 12:16 UTC by Antonio Rojas
Modified: 2017-10-02 18:30 UTC (History)
11 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Antonio Rojas 2017-05-25 12:16:41 UTC
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.
Comment 1 Kenny Fairweather 2017-05-31 09:17:08 UTC
I can confirm this bug. Same software version, same description.
Comment 2 Antonio Rojas 2017-05-31 09:20:19 UTC
Actually this is unrelated to threading. The issue happens whenever one selects more than one message from the list and tries to delete them
Comment 3 luisfe 2017-05-31 14:08:18 UTC
I can confirm the bug, but I cannot reproduce it reliably.
Comment 4 Antonio Rojas 2017-06-06 16:25:01 UTC
*** Bug 380824 has been marked as a duplicate of this bug. ***
Comment 5 David Faure 2017-06-11 08:41:26 UTC
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.
Comment 6 Martin Koller 2017-06-11 09:04:28 UTC
Which I fixed with this https://phabricator.kde.org/D5711
Comment 7 Laurent Montel 2017-06-11 16:31:14 UTC
Which is not in 17.04 
so the fix is not in 17.04 branch => the bug is still here indeed.
Comment 8 David Faure 2017-06-11 19:31:32 UTC
Fix backported to https://commits.kde.org/akonadi/2dc7fbf569ba3f7eeef98fb818d7af0820caf7a3.
Comment 9 Laurent Montel 2017-06-12 04:36:54 UTC
*** Bug 381008 has been marked as a duplicate of this bug. ***
Comment 10 Wolfgang Bauer 2017-09-28 08:36:06 UTC
*** Bug 385159 has been marked as a duplicate of this bug. ***