[PATCH] Workaround for bug 56693 (kmail freeze with the complete desktop while pinentry-qt appears)

Ingo Klöcker kloecker at kde.org
Sat Nov 15 00:36:48 GMT 2003


On Saturday 15 November 2003 00:17, Waldo Bastian wrote:
> On Sat November 15 2003 00:01, Ingo Klöcker wrote:
> > Hi,
> >
> > the reason for this freeze is a dead lock between the context popup
> > menu and the pinentry program. Both grab the keyboard and this
> > results in the freeze of the whole desktop.
>
> There was a similar problem in Konqueror at one point in time.. The
> problem there was that konqueror blocked on an external process that
> was about to show a dialog while konqueror had a popup-menu open.
> Konqueror had a keyboard/mousegrab due to the popup but since it was
> blocked on the external process it couldn't release it. The dialog of
> the other process could not be accessed because konqueror had the
> mouse/keyboard grab. Could this be a similar problem?

Yes, it's exactly the same problem.

> If so, the solution would be to not block on the external process.

Okay, I'll keep that in mind. But that's not solvable in the KDE 3.2 
timeframe.

> Your workaround only covers popups from kmail itself, right?

Yes.

> Does the problem also happen if one of the main-menu entries is
> opened? 

I don't understand what you mean by main-menu entries, but this problem 
can only occur if an encrypted message is shown and this can only 
happen if the user either selects a folder or a message. So I guess the 
answer to your question is no.

Regards,
Ingo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: signature
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20031115/665f2ccc/attachment.sig>


More information about the kde-core-devel mailing list