[Pkg-xfce-devel] Bug#831626: [pkg-gnupg-maint] Bug#831626: pinentry-gtk2 locks Xfce4 with Alt-Tab
On Mon 2016-07-18 15:56:30 +0200, Yves-Alexis Perez <corsac at debian.org> wrote:
> On Mon, 2016-07-18 at 01:11 +0200, Daniel Kahn Gillmor wrote:
>> I'm surprised to hear that this happens in xfce4.? Maybe the xfce4
>> maintainers (cc'ed here) want to comment on this?? On the window manager
>> i'm most used to (openbox) my meta-key combination to tab-cycle windows
>> doesn't work when pinentry is invoked.
>> Alain, can you replicate this problem using only pinentry?? You can
>> avoid using gpg entirely yet still launch pinentry-gtk-2 with:
>> ? (echo getpin && sleep 1 && echo bye) | pinentry-gtk-2
> It seems that I somehow managed to reproduce using the above command, but I
> still manage to unlock the session.
> I concur with Daniel, when pinentry-gtk2 is running, Alt-Tab /is/ forbidden
So it sounds like the issue is that pinentry-gtk2 grabs the keyboard but
not the mouse?
I can confirm that i can use the mouse outside of pinentry-gtk-2 while
it is up with the keyboard locked: left-click, drag-to-select,
middle-click paste, etc, all seem functional even in non-pinentry
But the keyboard is still active only in pinentry-gtk-2 -- so maybe
escape or enter would let you dismiss the dialog?
that said, maybe pinentry should be grabbing the pointer as well as
grabbing the keyboard?