------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.kde.org/show_bug.cgi?id=169166
Summary: KMail loses email accounts and their settings at KDE
logout
Product: kmail
Version: 1.10.0
Platform: SuSE RPMs
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: NOR
Component: general
AssignedTo: kdepim-bugs kde org
ReportedBy: Nico.Laus.2001 gmx de
Version: 1.10.0 (using KDE 4.1.0)
Installed from: SuSE RPMs
Compiler: gcc 4.3.1
OS: Linux
Occasionally KMail forgot all my accounts (but one) including all email stored
in it (here: the one left over was pop3 and the lost ones all dimap accounts)
when logging into KDE again after having logged out or restarted.
I had a closer look at what happened when I logged out of KDE, so I think, I
can explain why this is happening:
When kmail closes it seems to want to save its config file (maybe only after
changes to the configuration?). But for this to happen it needs an open wallet
if passwords are stored.
Now at KDE logout it might happen that KWalletManager/kwalletd gets closed
before KMail (or the wallet is closed anyway). In that case a window with the
password request to open the wallet appears. Since KDE is already shutting
down, you'll probably not unlock the wallet, and kmail will get killed (by the
logout process I guess - there is a window stating that kmail crashed but both
windows (password request and crash report) close immediately).
The first account was still in the config file, the rest wasn't - and KMail
seems to clean up its caches at program start which is when they actually get
lost.
Possible solutions / fixes:
- make config file (~/.kde4/share/config/kmailrc) saving independent from
access to kwalletd
- make KMail save its config file on changes only - and immediately!
- don't overwrite the config file with an incomplete version
- don't clean up email caches if the config file seems to be incomplete (if
detectable) or do so in general
_______________________________________________
Kdepim-bugs mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/kdepim-bugs