[Kde-pim] Request to exclude KMail from the KDE 4.0 release
Craig Howard
kde at choward.ca
Tue Dec 18 06:47:26 GMT 2007
On Sunday 09 December 2007, Thomas McGuire wrote:
> Hi,
>
> I've seen some offers to help working on KMail. Thanks for that.
>
> I'm willing to help with this, so you can mail any questions or patches to
> me or this list, I'll do my best to answer them or help with any issues.
Well, starting with stuff that's broken for me...
When marking a message as seen using a webmail client, kmail still leaves the
message marked as unread on my regular IMAP account. This works on the
initial load of the folder, but as soon as I switch away and come back, it's
marked as unread again. I'm not sure what causes that bug, but I'm hoping
someone can point me in the correct direction.
From what I can tell, this other path follows the slotGetLastMessagesResult()
branch, instead of the slotListFolderResult() branch. The
slotGetLastMessagesResult() eventually emits numUnreadMsgsChanged(), which
causes postProcessNewMail() to run. This is where I get a little lost. I
don't think I want to trace through the filters, as I think those are just
the rules that the user creates. So, this status field is obviously cached
somewhere, but where?
I've attached my quick fix for the first issue. I'm sure there's a better way
to do this, so I'd appreciate comments. BTW, what's the difference between
KMMsgStatusOld and KMMsgStatusRead?
--
Craig Howard
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kmail-unread.patch
Type: text/x-diff
Size: 479 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-pim/attachments/20071217/c2385b3b/attachment.patch>
-------------- next part --------------
_______________________________________________
KDE PIM mailing list kde-pim at kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/
More information about the kde-pim
mailing list