[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-pim
Subject:    Re: [Kde-pim] Request to exclude KMail from the KDE 4.0 release
From:       Thomas McGuire <thomas.mcguire () gmx ! net>
Date:       2007-12-20 21:37:30
Message-ID: 200712202237.30501.thomas.mcguire () gmx ! net
[Download RAW message or body]

Hi,

On Tuesday 18 December 2007, Craig Howard wrote:
> 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?
I don't know enough about IMAP to look at the patch, does anybody else?
I think the problem is somewhere else than what the patch fixes, but I am not 
sure.
Please attach your patch to https://bugs.kde.org/show_bug.cgi?id=152652 so 
that it is not forgotten.

Regards,
Thomas


_______________________________________________
KDE PIM mailing list kde-pim@kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic