From kmail-devel Wed Nov 07 01:24:10 2007 From: Matt Rogers Date: Wed, 07 Nov 2007 01:24:10 +0000 To: kmail-devel Subject: Re: [PATCH] write the imap folder config more often Message-Id: <200711061924.11033.mattr () kde ! org> X-MARC-Message: https://marc.info/?l=kmail-devel&m=119439872425959 On Tuesday 06 November 2007 07:36:09 you wrote: > 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 It's possible that's what's happening. Now that I know what debug output is for, I'll see if that is indeed the problem and perhaps submit a new patch. -- Matt _______________________________________________ KMail developers mailing list KMail-devel@kde.org https://mail.kde.org/mailman/listinfo/kmail-devel