Bug 281705

Summary: KMail sometimes incorrectly accesses KDE Wallet Service
Product: [Applications] kmail2 Reporter: Jonathan <jonathan.schluessler>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: montel, ro.ggi
Priority: NOR    
Version: 4.7   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: Kmail do not wait for Kwallet responding

Description Jonathan 2011-09-09 18:00:30 UTC
Version:           4.7 (using KDE 4.7.0) 
OS:                Linux

Sometimes when I start kmail I get the error:
KDE Wallet Service: There have been repeated failed attempts to gain access to a wallet. An application may be misbehaving.

Reproducible: Sometimes

Steps to Reproduce:
It never happened so far during the first start-up. When it happened I cannot check for new mail and thus have to restart kmail. So far it never happened 2 times in a row.

Actual Results:  
kmail does not have access to the mail passwords.

Expected Results:  
The wallet should always be properly accessible.
Comment 1 ro.ggi 2013-01-03 16:07:27 UTC
Created attachment 76164 [details]
Kmail do not wait for Kwallet responding

Probably it is because Kmail do not properly wait for Kwallet responding. You can reproduce that by doing following steps (I set new user account for this so there are no Kmail and Kwallet settings):

1. Now set up Kwallet.
2. Than start Kontact. It brings you to the account wizard.
3. Now set any imap account and let Kontact to do auto configuration. At this point you get some questions from Kwallet, click “always allow” for all.
4. Now if you see passwords in wallet manager than there is correct password for mail transport. But if you try to sent new mail, Kmail asks you an account password without waiting for  a Kwallet responding. But after allowing the access all works correctly.

Not sure, if that is a main problem, but I've already had cases when Kmail completely ignored stored password and asked all the time a password, when I wanted to send something, so I had to sweep full Kmail directory and to reconfigure it.
Comment 2 ro.ggi 2013-04-29 23:04:52 UTC
Seems to be fixed in 4.10.2
Comment 3 Laurent Montel 2013-04-30 05:34:50 UTC
Yes we fixed some bugs in 4.10.x
I close it.
Reopen if necessary