Bug 185391

Summary: Suggestion: Stop KMail from forgetting passwords when kwallet is closed.
Product: [Unmaintained] kmail Reporter: S.Trzmiel <xeno>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED FIXED    
Severity: wishlist    
Priority: NOR    
Version: 1.11.0   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description S.Trzmiel 2009-02-23 23:26:46 UTC
Version:           1.11.0 (using KDE 4.2.0)
OS:                Linux
Installed from:    Fedora RPMs

Description of problem:
I'd suggest a change in Kmail behaviour when accounts passwords are stored in KWallet and Kwallet is not open.

Actual results:
KMail forgets the stored passwords when it's unable to access KWallet

Expected results:
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


Rationale:
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...)
In KDE 4.2 it happends also when user won't close KMail before logout. Here at logout KWallet is closed before KMail, thus resulting with loss of passwords every logout.
Comment 1 Jaime Torres 2009-02-24 12:16:12 UTC
Isnt this a consecuence of bug 149999 and bug 163413?
Comment 2 S.Trzmiel 2009-02-25 23:21:05 UTC
Yup, altough there's no problem with kwallet dialog to appear.
The workaround is to add kmail to autostart and close it before logout, but that's not very elegant nor comfortable solution
Comment 3 S.Trzmiel 2009-04-05 15:18:03 UTC
It seems to bi fixed. With kdepim-4.2.2-2.fc11.i586, it doesn't ask for password to kdewallet on exit, it doesn't delete stored passwords when access to the kdewallet has been denied.
Thank You. I think we can close it now.