#641421 kmail: KMail asks for already saved (IMAP) password every time it starts up (KWallet/session interaction issues?)

Package:
kmail
Source:
kmail
Description:
full featured graphical email client
Submitter:
Wouter Van Hemel
Date:
2011-09-29 09:33:06 UTC
Severity:
minor
#641421#5
Date:
2011-09-13 10:48:27 UTC
From:
To:
Hello,

KMail is started by the session manager when KDE starts up, and asks for a password (IMAP) that is already saved in KWallet.

Sometimes KWallet gives a warning about a misbehaving application:

"There have been repeated failed attempts to gain access to a wallet. An application may be misbehaving."

The password can be found in KWallet when you check for it, so that's not the problem.

I'm guessing either interaction issues between KMail and KWallet, or some sort of race condition in restoring sessions where KMail loads before or simultaneously with KWallet and requests the IMAP password before KWallet itself is unlocked: KWallet itself requests its unlock password *after* KMail requests the IMAP password, so KMail simply couldn't have checked the IMAP password from KWallet since it was still locked.

I assume KMail for some reason doesn't wait until KWallet is unlocked, and hence asks the IMAP password directly from the user.

What I expect and want to happen, quite logically, is that KMail uses the saved IMAP password from KWallet and doesn't ask for it to be manually entered every time.


Thanks,

  Wouter

#641421#10
Date:
2011-09-29 09:22:39 UTC
From:
To:
This seems to be upstream bug #261559

https://bugs.kde.org/show_bug.cgi?id=261559