[kopete-bugs] [Bug 165079] Kopete crashes when closing wallet

Michael Leupold lemma at confuego.org
Tue Nov 11 11:09:39 CET 2008


http://bugs.kde.org/show_bug.cgi?id=165079


Michael Leupold lemma confuego org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
         Resolution|                            |FIXED




--- Comment #7 from Michael Leupold <lemma confuego org>  2008-11-11 11:09:38 ---
SVN commit 882694 by mleupold:

1. Implement session handling for applications using the KWallet API. If an
application with an open wallet exits or even crashes, kwalletd will know and
close the wallet (if 
autoclose if last client exits is set). For this to work I added the
handleSession parameter to the openAsync call. Clients not using the API can
continue to use the old DBus 
open call (no changes needed). Drawback: If an application exits/crashes while
the password entry dialog is shown, the wallet will still be opened (albeit
autoclosed afterwards). 
I don't intend to change this as it would be too messy and this cornercase is
just not important enough.

2. Implement asynchroneous handling of openPath calls. openPath now uses
transactions as well (almost identical to openAsync).

3. Create tests for the new changes and one for tracking concurrency problems
(kwalletmany).

BUG: 165079



 M  +8 -0      kdebase/runtime/kwalletd/backend/kwalletbackend.cc  
 M  +1 -1      kdebase/runtime/kwalletd/backend/kwalletbackend.h  
 M  +317 -95   kdebase/runtime/kwalletd/kwalletd.cpp  
 M  +42 -11    kdebase/runtime/kwalletd/kwalletd.h  
 M  +8 -4      kdebase/runtime/kwalletd/kwalletdadaptor.h  
 M  +30 -0     kdebase/runtime/kwalletd/tests/CMakeLists.txt  
 A             kdebase/runtime/kwalletd/tests/kwalletautoclose.cpp   [License:
LGPL (v2+)]
 A             kdebase/runtime/kwalletd/tests/kwalletautoclose.h   [License:
LGPL (v2+)]
 A             kdebase/runtime/kwalletd/tests/kwalletnoautoclose.cpp  
[License: LGPL (v2+)]
 A             kdebase/runtime/kwalletd/tests/kwalletpath.cpp   [License:
UNKNOWN]
 M  +6 -22     kdelibs/kdeui/util/kwallet.cpp  
 M  +8 -0      kdelibs/kdeui/util/org.kde.KWallet.xml  


WebSVN link: http://websvn.kde.org/?view=rev&revision=882694


-- 
Configure bugmail: http://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the kopete-bugs mailing list