[Pkg-xfce-devel] [pkg-gnupg-maint] Bug#831626: pinentry-gtk2 locks Xfce4 with Alt-Tab

Yves-Alexis Perez corsac at debian.org
Mon Jul 18 13:56:30 UTC 2016


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.
But I use focus-follow mouse and this one is not completely prevented by
pinentry-gtk2, so if I move my mouse outside of the pinentry-gtk2 window the
fullscreen terminal behind is moved to the front *but the focus stays in the
pinentry-gtk2 window*. So if you type anything, it'll go to the pinentry-gtk2
window and not the terminal window (so you might think everything is stuck,
since no entry is registered and alt-tab is prevented). If you validate with
enter, or exit with escape, it'll work.

You can see it if you make your terminal window transparent, you'll see your
entry registed in pinentry-gtk2. At least that's the case here.

Regards,
-- 
Yves-Alexis
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/pkg-xfce-devel/attachments/20160718/e4e843b0/attachment.sig>


More information about the Pkg-xfce-devel mailing list