[TESTCASE] Wallet not saving entries when closed

Thomas McGuire thomas.mcguire at gmx.net
Sat Nov 10 22:40:45 CET 2007


Hello,

i noticed that KMail seemingly randomly loses its passwords when they are 
stored in the wallet.
It seems that as soon as the last application using kwallet quits, the data is 
lost.

I've written a testcase (attached) which tests some of the kwallet features. 
It fails after closing the wallet, then reopening it again to read some keys.

To run it, first start kdeinit4 to make sure the wallet daemon is active, then 
run the test.

This is the first test I've written. Can it go into kdelibs or does it need 
some modifications? Any other comments on it?
I think modifing the main wallet and requiring a running kded module might not 
be a good idea for a test, but I don't know how to do this better.

Even if the wallet bug turns out to be user error or KMail's fault, I think 
this testcase still makes a nice addition to kdelibs.
Otherwise, I would be nice if somebody could fix the bug.

Regards,
Thomas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: wallettest.diff
Type: text/x-diff
Size: 6154 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/kdelibs-bugs/attachments/20071110/44c82d42/attachment-0001.bin 


More information about the Kdelibs-bugs mailing list