Bug 228914 - Doesn't remember password between sessions
Summary: Doesn't remember password between sessions
Status: RESOLVED FIXED
Alias: None
Product: choqok
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: Mehrdad Momeny
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-02-28 17:36 UTC by rfc469
Modified: 2010-08-20 08:25 UTC (History)
5 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 rfc469 2010-02-28 17:36:20 UTC
Version:           0.9.4 (using KDE 4.3.5)
Compiler:          gcc version 4.3.4 (Gentoo 4.3.4 p1.0, pie-10.1.5) 
OS:                Linux
Installed from:    Gentoo Packages

Every time I login to KDE and choqok starts up, it pops up an Authorization Dialog:

You need to supply a username and a password to access this site.
Site: Twitter API at twitter.com
Username:
Password:

I enter my username and password and it remembers it for that session and only for that session.  Choqok 0.6.6 doesn't have this problem.
Comment 1 Mehrdad Momeny 2010-02-28 19:12:22 UTC
As i remember, This was KDE 4.3 bug! And fixed in KDE 4.4!

BTW, try to remove choqok related entries in Passwords folders in KWallet, and try again. Maybe it 
helps.
Comment 2 rfc469 2010-03-01 08:25:55 UTC
Thanks for the quick reply!  Actually I wasn't using KWallet because I had some problems with it in the past (maybe related a bug in 4.3?)  So I tried installing it again and yes, there are problems.  For example, it prompts me every time I login for "Plasma Workspace" and I get prompted for a password twice from Choqok when I logout!  What a pain.

For the moment, I've changed 2 lines in account.cpp to use the password in cleartext from the config.
Comment 3 Ken Rushia 2010-03-17 15:41:27 UTC
Possibly the same as bug 205892
Comment 4 l33tmmx 2010-04-03 16:04:43 UTC
rfc469: which two lines did you change? I don't use kwallet on Gentoo, either, and I'd like choqok to remember the passwords between sessions, too...
Comment 5 rfc469 2010-04-03 20:35:26 UTC
--- account.cpp.orig    2010-02-28 08:22:44.000000000 -0800
+++ account.cpp         2010-02-28 08:30:31.000000000 -0800
@@ -47 +47 @@
-        password = PasswordManager::self()->readPassword(alias);
+        password = configGroup->readEntry("Password", QString());
@@ -83 +83 @@
-    PasswordManager::self()->writePassword( d->alias, password() );
+    d->configGroup->writeEntry( "Password", d->password );
Comment 6 Vasileios P. Lourdas 2010-06-05 07:32:45 UTC
I confirm the problem. Using choqok-0.9.55 and KDE 4.4.4 in my Gentoo box. I don't use KWallet at all and every time choqok starts after log-in, it asks for the Twitter password, although I have the Remember password tickbox checked.
Comment 7 sylentdogg 2010-06-08 00:47:27 UTC
I too am having this problem. I have been using choqok for some time and has worked great. But ever since I updated to 0.9.55 it refuses to save passwords. When this started, I was using kde 4.4.3, and now using 4.4.4 it has continued. I also do not use kwallet. I noticed that choqok used to save the passwords in plain text in ~/.kde4/share/config/choqokrc. So I tried to put the passwords in there manually. But it got over written on the next session. I also tried to delete all config files to have it start clean, that didn't help ether. I hope this info helps to solve this bug. I don't know if it matters, but I am using Archlinux i686 kernel 2.6.33.
Comment 8 Mehrdad Momeny 2010-06-08 05:41:28 UTC
No, It didn't store passwords in plaintext!

I'll try to add option for it
Comment 9 Andrey Esin 2010-07-30 12:09:10 UTC
Try to remove your Twitter account from Choqok and then create it and authenticate on twitter.com. It must help you.
Comment 10 Mehrdad Momeny 2010-08-20 08:25:21 UTC
Use latest release: http://choqok.gnufolks.org/2010/08/choqok-1-0-beta2-released/