Bug#401957: pinentry-gtk2: fails to grab the keyboard

2007-11-06 Thread Tobias Nissen
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

Bug#401957: pinentry-gtk2: fails to grab the keyboard

2007-11-06 Thread Tobias Nissen
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

Bug#401957: pinentry-gtk2: fails to grab the keyboard

2007-01-25 Thread Loïc Minier
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)).

Bug#401957: pinentry-gtk2: fails to grab the keyboard

2006-12-06 Thread Julien Cristau
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