Bug 226270 - kopete asking for passwords after wallet password wasn't provided
Summary: kopete asking for passwords after wallet password wasn't provided
Status: RESOLVED FIXED
Alias: None
Product: kopete
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: Kopete Developers
URL:
Keywords:
: 228153 229366 229576 234418 236964 238402 243580 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-02-11 10:35 UTC by Kristjan Ugrin
Modified: 2010-08-12 15:45 UTC (History)
14 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kristjan Ugrin 2010-02-11 10:35:12 UTC
Version:           1.0.0 (using KDE 4.4.0)
OS:                Linux
Installed from:    openSUSE RPMs

There is a problem with kopete 1.0.0 shipped with kde SC 4.4 if you are using wallet manager.
Kopete will spawn multiple dialogs asking password for each IM account, if you don't enter
wallet password in a certain deadline.

Steps:
- setup walletmanager to store passwords
- close wallet
- start kopete, leave wallet prompt for a while
- kopete should open multiple dialogs
Comment 1 Oswald Buddenhagen 2010-02-23 08:23:59 UTC
*** Bug 228153 has been marked as a duplicate of this bug. ***
Comment 2 Malte S. Stretz 2010-04-09 15:06:33 UTC
*** Bug 229576 has been marked as a duplicate of this bug. ***
Comment 3 Axel 2010-05-14 03:22:43 UTC
I solved this here on Kubuntu Lucid by removing all kopete and kwallet config files from .kde/share/config/ and .kde/share/apps/. It's always old config files nowdays that bite me. It was a fresh install not an upgrade but /home was existing.
Comment 4 Gabriele Tozzi 2010-05-19 20:12:43 UTC
This bug affects also me on kubuntu lucid 10.04 Kopete 1.0.0 on Kde 4.4.2
Comment 5 Malte S. Stretz 2010-05-20 16:54:54 UTC
This is odd. I first thought it was fixed in KDE 4.4.3 because on my recently reinstalled notebook (Kubuntu Lucid) it doesn't happen.  Today I upgraded my workstation to 4.4.3 as well (via <http://www.kubuntu.org/news/kde-sc-4.4.3>, it was first installed with Karmic I think) and it still happens.

So I guess as Axel pointed out, it is some old config hanging around and confusing Kopete (or the wallet subsystem).  Or it might be that my workstation is 64 bit and my notebook 32?  Or that I have two Jabber accounts on my workstation and only one on my notebook?  Guess I won't find out until I purged the config on my workstation, not something I'm currently in the mood to do.

So a workaround for now seem to be an upgrade to 4.4.3 and purging your config data.
Comment 6 Michael Leupold 2010-06-20 22:25:33 UTC
I just had a look at this bug. The behaviour stems from the timeoutTimer inside Kopete::WalletManager::Private which should be removed altogether.

In my opinion no application should put timeouts on calls to KWallet. A timeout means that the user isn't around to answer the KWallet dialog. Cancelling the dialog (which is not actually possible so the dialog stays visible) means that the application will have to reprompt the user for the password (a dialog the user won't be able to answer either if he's not around).

What should work is removing timeoutTimer and all calls to it altogether (would of course need proper testing to see if everything still works).
Comment 7 Malte S. Stretz 2010-07-15 10:42:28 UTC
*** Bug 243580 has been marked as a duplicate of this bug. ***
Comment 8 Malte S. Stretz 2010-07-15 10:45:53 UTC
*** Bug 229366 has been marked as a duplicate of this bug. ***
Comment 9 Malte S. Stretz 2010-07-15 10:47:55 UTC
*** Bug 236964 has been marked as a duplicate of this bug. ***
Comment 10 Malte S. Stretz 2010-07-15 10:49:08 UTC
*** Bug 238402 has been marked as a duplicate of this bug. ***
Comment 11 Malte S. Stretz 2010-07-15 11:13:52 UTC
*** Bug 234418 has been marked as a duplicate of this bug. ***
Comment 12 Malte S. Stretz 2010-07-15 11:21:29 UTC
I recently upgraded to 4.5 RC2 and now at least the behaviour is consistent:  Both my notebook and my workstation do ask for an account password if I'm not quick enough to open the wallet.

Additionally (was also mentioned in some of the bugs I duped) does it forget the password for my Jabber account when this happens.
Comment 13 Oswald Buddenhagen 2010-08-06 08:54:01 UTC
fixed in r1151002 by beschow for kde 4.6
Comment 14 Mathias Homann 2010-08-06 09:18:52 UTC
kde 4.6...when is that going to be released?
is there a chance to backport this into 4.5 or 4.5.1?
Comment 15 Bernhard Beschow 2010-08-12 15:45:03 UTC
already backported to 4.5 in r1151086 ;-)