[Psi-Devel] [haas at debian.org: Bug#450736: psi: Sending GPG-encrypted messages is delayed by 4 seconds]
Justin Karneges
justin-psi2 at affinix.com
Mon Nov 12 09:08:54 PST 2007
On Monday 12 November 2007 12:38 am, Norman Rasmussen wrote:
> > ---------- Forwarded message ----------
> > From: Christoph Haas <haas at debian.org>
> > When enabling GPG encryption and sending a message it takes 4 seconds
> > until the message gets sent. During that time the program is
> > unresponsive. This does not happen when sending messages without
> > encryption. This also did not happen with Psi 0.10.
>
> I'm seeing a similar response on win32, but only with gpg enabled. It
> seems that launching the gpg subprocess and encrypting the message
> takes about 0.5 seconds, and during that time all GUI message
> processing is frozen.
>
> As an example, I'll type a message, hit enter, and immediately start
> typing 1,2,3,4,5 etc. When Psi unfreezes only the 3,4,5 is processed
> (or 4,5, sometimes).
Psi blocks entry to the chat window input area during encryption. The whole
app, however, including the rest of the chat window, should remain
responsive.
The reason input is blocked (the input area grays out) is due to a number of
issues, for example what happens if the gpg operation fails? Currently it
will just ungray the input area, with your original message intact. Things
get ugly if you allow inputting another message. Anyway we may improve this
somehow in the future, but I hope you can see the rationale for the current
behavior. This behavior has existed since the first gpg-capable release of
Psi (some three or four years ago, 0.9, I believe), and nothing about this
changed in 0.11.
Since the bug reporter claims the freezing was not a problem in 0.10, I
suspect he's talking about something else (an actual bug as opposed to
intentional Psi behavior). Maybe the reporter can reclarify what is
happening.
-Justin
More information about the Psi-Devel
mailing list