If I execute sleep(1) before the "if (gdk_keyboard_grab ...",
pinentry-gtk-2 is always able to grab the keyboard. Waiting only some
milliseconds (say 500) would do the trick too, I guess.
Not many people seem to be able to reproduce this bug. What kind of
additional information do you need?
pgpT
I can reproduce the bug. Adding gtk_widget_realize(win); in the middle
of grab_keyboard() doesn't change anything.
pgpaXTezIG2wB.pgp
Description: PGP signature
On Thu, Dec 07, 2006, Julien Cristau wrote:
> gdk_grab_keyboard()
> returns 3
This is GDK_GRAB_NOT_VIEWABLE which only happens when XtGrabKeyboard
returns GrabNotViewable which happens when the underlying X11 widget
isn't realized (XtGrabKey(3)).
Package: pinentry-gtk2
Version: 0.7.2-3
Severity: important
Hi,
I use gpg-agent with pinentry-gtk2, and most of the time when gpg asks
me for a passphrase pinentry doesn't work.
ltrace shows that it fails to grab the keyboard: gdk_grab_keyboard()
returns 3, so the pinentry window appears for just
4 matches
Mail list logo