Bug 149999

Summary: Forgets passwords after cancelling kwallet password dialog once
Product: [Unmaintained] kmail Reporter: Torquil Macdonald Sørensen <torquil>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED UNMAINTAINED    
Severity: normal CC: chrislb, dominik.tritscher, jtamate, richih-kde, seajey.serg, solstice.dhiver, spiffytech
Priority: NOR Keywords: triaged
Version: 1.9.7   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Torquil Macdonald Sørensen 2007-09-19 13:23:19 UTC
Version:           1.9.7 (using KDE 3.5.7, Debian Package 4:3.5.7.dfsg.1-7 (lenny/sid))
Compiler:          Target: i486-linux-gnu
OS:                Linux (i686) release 2.6.22-1-686

In short: Why does my IMAP/POP/SMTP passwords have to be reentered only because I have previously cancelled the kwallet password dialog box (the one that asks for the kwallet "master password")?

Here is a possible scenario: I am writing an email, and press send (or mistakenly press CTRL-Enter...). Then I change my mind when the kwallet password dialog has popped up. The only way to do that is to choose "Cancel", so I do that.
The next time I want to send an email, I will then have to reenter the SMTP password. So kwallet must have forgotten it, just because I cancelled the kwallet "master password" dialog previously? I never asked kwallet to forget my SMTP password.

Best regards (and thanks for the great software)
Torquil Macdonald Sørensen
Comment 1 Andrew Beames 2008-06-27 19:35:17 UTC
More info, along the same lines...

KMail 1.9.51; KDE Wallet Manager 1.1; KDE 4.0.4; SUSE 11.0

When kmail starts, it triggers the kwallet login prompt.
If the kwallet login prompt is not answered in a timely manner, kmail continues without it.[1]
From that point onward, kmail has lost all my passwords, so I have to retype them. It cannot save my manually entered passwords because kwallet is not responding.
The remedy is to answer kwallet so it is now open; restart kmail to refresh connection to kwallet; retype the kmail passwords; tick box to save kmail passwords; now ok... But it was a big effort to get there...

[1]  I have seen a post (#139844) about starting a separate kwallet thread so kmail does not look like it has hung. Is this the reason kmail continues alone?
Comment 2 solsTiCe 2008-09-01 11:19:59 UTC
yes i confirm this BUG. it is a bug. 

it has been 10 times that i have to reenter all my password because i fail for some reason to type kwallet password.
reasons:
- not there to type password before automatic retrieval of mail from kmail began
- make a typo or cancel it
- ...

and then you are stuck even if you close kmail. the only solution is to logout-relogin. it's a mess.

PLEASE FIX THIS !
Comment 3 Sergei Andreev 2008-10-12 19:56:32 UTC
This is longstanding bug that spoil my life both in KDE3 and KDE4

Please, fix it!

I am bored to remember and reenter my account logins and passwords.
Comment 4 Richard Hartmann 2008-10-30 17:13:20 UTC
This issue is the worst bug in KDE4, for me. It bites me about two times, each day. /me hates it ;)

So yah, fixing this would be hugely appreciated :)
Comment 5 Jaime Torres 2008-11-17 15:42:59 UTC
This bug related to bug #163413
Comment 6 G 2009-01-02 02:46:21 UTC
Using 1.10.3, it's indeed very very annoying :/
Comment 7 Brian 2009-01-10 23:53:37 UTC
I can confirm this bug with Kmail 1.10.3. Every time I start the application and check my mail I am prompted for the password for each of my accounts, and a Kwallet prompt never comes up. 
Comment 8 Christoph Burgmer 2009-01-13 17:19:11 UTC
+1, Debian Experimental, KDE 4.1.4.
Guys that sucks.
Comment 9 Richard Hartmann 2009-01-13 17:28:40 UTC
It does. Once KMail in 4.1.96 stops throwing core dumps after me, I'll triage for 4.2 :p
Comment 10 Richard Hartmann 2009-01-13 17:29:20 UTC
Hmm, that came out very negative. Wasn't supposed to sound that way.
Comment 11 Richard Hartmann 2009-03-16 09:39:52 UTC
Cross-reference to https://bugs.kde.org/show_bug.cgi?id=170828
Comment 12 Laurent Montel 2015-04-12 10:17:10 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.