Bug 204231 - KMail assumes KWallet is not available when you click "Cancel" on KWallet prompt
Summary: KMail assumes KWallet is not available when you click "Cancel" on KWallet prompt
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kmail
Classification: Unmaintained
Component: sending (show other bugs)
Version: SVN trunk (KDE 4)
Platform: Compiled Sources Linux
: NOR minor
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
: 250933 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-08-18 04:07 UTC by Michael Pyne
Modified: 2015-04-12 09:52 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Pyne 2009-08-18 04:07:00 UTC
So there I am sending an email, and realize right after I click Send that I forgot to include some important tidbit.

Luckily I haven't send an email in more than 10 minutes, so KWallet pops up to unlock the password to my SMTP provider.  So I click Cancel, and the send is aborted. "GREAT SUCCESS" :)

Unfortunately, from then on every time KMail would have accessed KWallet for passwords (i.e. POP3, further SMTP) it prompts me to enter the password manually.  But the password is there in the wallet, I just need to unlock it, but KMail won't ask me to :(

Expected behavior is that if the entry is available in the Wallet that KMail attempt to use it even if it was previously canceled.

Now this could be a KWallet bug I suppose (in that it doesn't return a "Canceled by user" error when calling openWallet() or because KWallet itself is caching the status of openWallet()).  If so, my humblest apologies oh PIMsters. :)
Comment 1 Björn Ruberg 2010-03-04 23:44:42 UTC
I think the problem is, as long as the wallet is closed, kmail can not now which password are stored there
Comment 2 Christophe Marin 2012-01-08 13:31:26 UTC
*** Bug 250933 has been marked as a duplicate of this bug. ***
Comment 3 Laurent Montel 2015-04-12 09:52:19 UTC
Thank you for taking the time to file a bug report.

KMail2 was released in 2011, and the entire code base went through significant changes. We are currently in the process of porting to Qt5 and KF5. It is unlikely that these bugs are still valid in KMail2.

We welcome you to try out KMail 2 with the KDE 4.14 release and give your feedback.