Red Hat Bugzilla – Bug 484586
Suggestion: Stop KMail from forgetting passwords when kwallet is closed.
Last modified: 2009-07-27 06:21:22 EDT
Description of problem:
I'd suggest a change in Kmail behaviour when accounts passwords are stored in KWallet and Kwallet is not open.
KMail forgets the stored passwords when it's unable to access KWallet
KMail shouldn't attempt to open KWallet just in two cases:
a) "remember password" option is not checked (user didn't turn it on or disabled it manually)
b) Use Kwallet option was turned off by user.
In any other case KMail should keep nagging about KWallet password or offer "go offline" option
Now it's possible to delete passwords stored in KWallet without opening KWallet at all.
User may loose his passwords when KMail won't get access to KWallet (ie. user logged out without typing the KWallet password, xorg crashed etc...)
It became more important with KDE 4.2.0-2 when at logout KWallet is closed before KMail, thus resulting with loss of passwords every logout.
Version-Release number of selected component (if applicable):
kdepim 4.2.0-2 (Actually it applies to any verion of kdepim 3.5 including)
We're not in any position to implement this suggestion... Please do so by reporting upstream, potentially do kdepim mailing list or to bugs.kde.org.
Fwiw, my understanding is that any kwallet-using app should (re)start kwallet on-demand as needed. So, if what your describe is happening, kmail not reaching kwallet when needed, seems to be a bug to me.
Yup that's what I think is reasonable.
It's not a bug per se, b'cause IIRC KMail always worked this way. But it's annoying, when stored passwords can be lost just b'cause you decided to not open the password manager once.
launch KMail (in my case it's from autostart or resumed from prevoius session), the KWallet dialog pop-up but I closed it without entering password or just ignored it for some period of time (most likely next scheduled attempt to check mail).
In KDEPIM up to 4.1.4 passwords are still in the wallet (you can browse them) but KMail will start to ask for password for every configured account, and won't check Wallet anymore, unless you store them again. This resultd in duplicate entries in KWallet
From KDE 4.1.5 I observed that after you deny access to KWallet, passwords will be deleted.
In my opinion apps should keep tryin to open KWallet as they were configured untill you let them in or order to stop using it.
"Go offline" option can be usefull to hush the application without breaking your preferences.
(In reply to comment #1)
> We're not in any position to implement this suggestion... Please do so by
> reporting upstream, potentially do kdepim mailing list or to bugs.kde.org.
Ok I'll try to ask devs at kde.org TNX for this tip.
Ok I'm closing this one, maybe it's not perfect, but KMail stopped loosing password so I'm happy the way it is.