[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Re: [patch] kwalletd timeouts
From:       Thiago Macieira <thiago () kde ! org>
Date:       2008-07-08 12:58:06
Message-ID: 200807080958.06613.thiago () kde ! org
[Download RAW message or body]


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

["signature.asc" (application/pgp-signature)]

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic