Re: [PATCH] write the imap folder config more often
Matt Rogers <[email protected]> Tue, 6 Nov 2007 19:24:10 -0600
| Newsgroups | gmane.comp.kde.devel.kmail |
|---|---|
| Organization | KDE |
| Message-ID | <[email protected]> |
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