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

List:       kmail-devel
Subject:    Re: [PATCH] write the imap folder config more often
From:       Till Adam <till () kdab ! net>
Date:       2007-11-06 13:36:09
Message-ID: 200711061436.19051.till () kdab ! net
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


On Monday 05 November 2007 02:09:59 Matt Rogers wrote:
> Hi,
>
> I've been running into cases where when closing KMail, imap folders
> would be written out with empty ImapPath keys unless I opened the
> folder before closing KMail.
>
> I've fixed this by calling KMFolderImap::writeConfig from
> KMFolderIMap::initializeFrom. Since I'm not sure this is the right
> approach, I'm sending the patch to the list for review first.

That sounds more like broken open/close refcounting to me. Is it possible that 
hthe folder is prematurely closed (which writes the old, empty config) and 
hten re-opened? There's debug output that shows what opens and closes a 
folder, to help track down such issues.

Till

-- 
Till Adam -- till@kdab.net, adam@kde.org
KDAB, Platform-independent software solutions

["signature.asc" (application/pgp-signature)]

_______________________________________________
KMail developers mailing list
KMail-devel@kde.org
https://mail.kde.org/mailman/listinfo/kmail-devel


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

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