[PATCH] Add dontAskAgainName parameter to queuedMessageBox()

Thomas Zander zander at planescape.com
Sun Oct 6 18:54:09 BST 2002


On Sun, Oct 06, 2002 at 06:48:10PM +0200, Ingo Kl?cker wrote:
> On Sunday 06 October 2002 18:13, Thomas Zander wrote:
> > Having a dialog like the one you propose allows a user to get a lot
> > of dialog on screen when he walks away and the mailbox is and stays
> > out of sync due to him not clicking the dialog.
> >
> > The correct patch would be to fix this in KMail. For example by
> > adding a check in front of the code that accesses the mailbox-cache.
> > Another solution is that each incoming acount has a 'ok to use' flag
> > so a problem in one does not effect another account. Plus you can
> > easily disable the account when a problem is found.
> 
> There is a misunderstanding. This has nothing to do with accounts but 
> with the mail folders in ~/Mail.
<snip long explenation>

> If you have a better idea how we should handle this situation please 
> speak up.

if you delete a message, set the 'deleted' flag in the mailbox. This means
no loss in email-state.
Second on regeneration of the index you should merge instead of overwrite
the index file.  Existing messages should take the old status, just update
the positioning in the file.
Maybe a check in change of filesize is more important in these cases...


> > Anyway; your proposal does not look like it embraces good design in
> > KMail.
> 
> Independently of the question whether this is good design in KMail or 
> not please answer the following two questions:
I can't answer those questions, I don't know the class very well.

-- 
Thomas Zander   zander at planescape.com
We are what we pretend to be




More information about the kde-core-devel mailing list