Closed Bug 1491570 Opened 6 years ago Closed 4 years ago

Filters fail to delete messages if manually deleting other messages while downloading

Categories

(Thunderbird :: Filters, defect)

52 Branch
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 288896

People

(Reporter: php4fan, Unassigned)

Details

User Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.81 Safari/537.36

Steps to reproduce:

- configura a POP3 account, make sure you have tons of emails on it to download
- configure some filter that will match hundreds of messages; set it to move the messages matching the criteria to trash
- click "Get Messages"
- while messages are being downloaded (and filters applied on them as they are downloaded), which will take several minutes, select some random messages in the inbox and hit the Delete key, which will move them to trash


Actual results:

While the messages manually selected to be moved to trash are moved to trash, some new message will be downloaded which matches the filter and hence has to be moved to trash too. And it will trigger a stupid error message that says more or less something like:
"Cannot move message to trash. Another operation is in progress".




Expected results:

If things were done correctly (which unfortunately is a big "if" in Thunderbird), manually deleting messages that you manually select, shouldn't interfere at all with messages being downloaded and moved to trash because they match some filters.
Whichever operations gets blocked because another one is in progress, should wait and then be able to complete later.
Join the team and help us do things "correctly". We're sitting on a pot of legacy code which is 20 years old. I think it's already quite good that it doesn't fall over and instead gives a semi-reasonable message.
Status: UNCONFIRMED → RESOLVED
Closed: 4 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.