[patch] kwalletd timeouts

Thiago Macieira thiago at kde.org
Tue Jul 8 13:58:06 BST 2008


Michael Leupold wrote:
>Thus I propose the patch I attached which changes the (client)
> behaviour: - send the open call to kwalletd
>- if there's a timeout (dialog still shown on the server!) resend the
> call As a result the timeouts is completely transparent to both the
> developer and the user. The dialog requesting the password will stay
> open as long as the user doesn't enter a password.

I propose changing both client and server behaviour.

The call to open the wallet is sent and replied to immediately, indicating 
success in starting the opening. However, kwalletd notifies the caller of 
an open wallet via signal, which the client must listen to.

This will also allow the client to start an event loop to repaint itself, 
avoiding the KDE 3 problem of the GUI freezing in *all* programs waiting 
for the wallet to open.

-- 
  Thiago Macieira  -  thiago (AT) macieira.info - thiago (AT) kde.org
    PGP/GPG: 0x6EF45358; fingerprint:
    E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20080708/94f6096f/attachment.sig>


More information about the kde-core-devel mailing list