https://bugs.kde.org/show_bug.cgi?id=233390
Leo Franchi <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #4 from Leo Franchi <lfranchi kde org> 2010-06-08 21:34:09 --- I'm not sure why this happens, but it's not directly a result of the messagelist. I think it's a race condition between the messagelist loading the new item, and the ETM backing it. After the message editor is closed, it fires off an ItemCreateJob that creates the item in the collection. The maildir resource, watching the draft folder, modifies the item by adding a remoteid. This emits a itemModified() signal, that is propagated up to the ETM monitoredItemChanged() method, where the old item (the full mail) and the new item (the full mail with a new remoteid) are merged. This merge results in duplication of the headers of the KMime::Message::Ptr---the akonadi mail serializer, when deserializing the ENVELOPE part of a message, merges the new envelope with the existing message headers. So the ETM is now holding mails with incorrectly duplicated headers. Now,the messagelist loading happens in batches and async. If the update timer is called *between* the item creation and the maildir resource item modification, all is good, because it gets the message before the headers are duplicated. If the update timer fires *after*, it reads the duplicated-headers message, and shows them. I'm not sure what the proper fix in Akonadi/ETM is for this, will consult the akonadi gurus :) -- Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. _______________________________________________ Kdepim-bugs mailing list [email protected] https://mail.kde.org/mailman/listinfo/kdepim-bugs
