Bug 78027 - when kmail is run from within kontact, folders are not expired on exit
Summary: when kmail is run from within kontact, folders are not expired on exit
Status: RESOLVED FIXED
Alias: None
Product: kontact
Classification: Applications
Component: mail (show other bugs)
Version: 0.8.1
Platform: unspecified Linux
: NOR wishlist
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-03-19 20:11 UTC by Wilbert Berendsen
Modified: 2007-09-14 12:17 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Wilbert Berendsen 2004-03-19 20:11:39 UTC
Version:           1.6.1 (using KDE 3.2.1, Gentoo)
Compiler:          gcc version 3.3.2 20031218 (Gentoo Linux 3.3.2-r5, propolice-3.3-7)
OS:          Linux (i686) release 2.6.3-gentoo

I have KMail configured to expire folders on exit, but when kmail is run from within kontact, folders are not expired when kontact is closed.

Also the notification window that normally pops up in the upper left corner does not pop up.
Comment 1 Don Sanders 2004-03-22 05:31:50 UTC
Reassigned to Kontact with severity wishlist.

I'm okay with expiring messages but doing it on exit and blocking the app is not acceptable.
Comment 2 ervdv 2004-04-02 14:58:18 UTC
Mandrake 10.0
Qt: 3.2.3
KDE: 3.2 BRANCH >= 20040204
Kontact: 0.8

Same problem here...
I don't see why the app couldn't wait a few seconds for expiring the folders. I really think of it as a nice feature. Doing it manually isn't that nice.
Comment 3 Arne Schmitz 2004-04-13 16:49:56 UTC
Even worse: I have the problem that because the expiring of the folders does not work, the KMail lock file is left on the disk. This causes Kontact in some cases not to load. It complains that KMail is already running. This is very annoying and I think the overall behaviour of Kontact here is wrong, because it doesn't wait until it's components have closed down.
Comment 4 Arne Schmitz 2004-04-13 16:53:45 UTC
I just played a bit with all this and found that expiring and cleanup tasks seem to be dishonored only when logging out of a KDE session. It works if I close Kontact manually. But if I log out of the KDE session, somehow the session manager -- or whatever is in charge of the task -- doesn't wait for Kontact's subprocesses to finish their cleaning task.
Comment 5 David Faure 2004-05-11 17:49:56 UTC
Expiry now happens as a background task, which avoids all the problems with doing
things on exit, and make expiry work in kontact. CVS HEAD, will be in kdepim-3.3