Bug 274973 - conflicts caused by marking messages as ignored
Summary: conflicts caused by marking messages as ignored
Status: RESOLVED DUPLICATE of bug 259574
Alias: None
Product: kmail2
Classification: Applications
Component: general (show other bugs)
Version: 4.9.1
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-05 12:09 UTC by S. Burmeister
Modified: 2012-10-13 22:22 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
conflict after clicking on "mark as spam" button in the toolbar while email was not loaded yet (24.63 KB, image/png)
2012-02-05 17:04 UTC, S. Burmeister
Details

Note You need to log in before you can comment on or make changes to this bug.
Description S. Burmeister 2011-06-05 12:09:01 UTC
Version:           2.0.96 (using KDE 4.6.3) 
OS:                Linux

I have set-up "i" as shortcut for marking a group as "ignore". Often if I click on the first message in a group and "i" immediately afterward I get an akonadi conflict regarding the status of the message, i.e. whether it should have no status, or $IGNORED. Another variant is the conflict of $IGNORED and $SEEN.

I think this is because kmail does not sync quick enough and thus confuses akonadi.

If this is not a kmail2 but akonadi issue, please re-assign. 

Reproducible: Sometimes
Comment 1 S. Burmeister 2011-06-27 17:54:23 UTC
Same happens if one deletes an email (to a local folder) while kmail is still retrieving its content.
Comment 2 S. Burmeister 2011-07-16 10:11:43 UTC
Another way to trigger this is to filter imap messages to a local folder where the thread they belong to is marked as "ignored".

One opens the local folder with the ignored thread.
Tells kontact to go offline/online.
It starts to pull new messages for the imap account
It filters the messages to the local folder and puts the email that belongs to the ignored thread into it and marks it as ignored (this fails sometimes, then the conflict does not occur)
The email is added to the thread and marked as ignored and a pop-up comes up which compares an empty version with the actual email on the right-hand side.

No other clients accessing the imap account.
Comment 3 András Manţia 2011-10-20 07:41:16 UTC
Can you reproduce with KDEPIM 4.7.2 or even better, with master?
Comment 4 S. Burmeister 2011-11-01 12:59:35 UTC
akonadi-4.7.2-298.1.x86_64
akonadi-runtime-1.6.2-103.1.x86_64
libakonadi4-4.7.2-247.1.x86_64
libakonadiprotocolinternals1-1.6.2-103.1.x86_64
libakonadi4-debuginfo-4.7.2-247.1.x86_64
libakonadiprotocolinternals-devel-1.6.2-103.1.x86_64

and KDE 4.7.2 and it still happens, i.e. if one presses the shorcut for "ignore group" before kmail2 finishes to retrieve and display an emails content the conflict happens.
Comment 5 S. Burmeister 2012-02-05 17:02:48 UTC
Still valid for kdepim 4.8. If one marks an email as ignored/spam while it is downloaded it will cause a conflict.

See attached screenshot.
Comment 6 S. Burmeister 2012-02-05 17:04:22 UTC
Created attachment 68533 [details]
conflict after clicking on "mark as spam" button in the toolbar while email was not loaded yet
Comment 7 András Manţia 2012-10-13 22:22:04 UTC

*** This bug has been marked as a duplicate of bug 259574 ***