[Pkg-xfce-devel] [pkg-gnupg-maint] Bug#831626: pinentry-gtk2 locks Xfce4 with Alt-Tab
- Subject: [Pkg-xfce-devel] [pkg-gnupg-maint] Bug#831626: pinentry-gtk2 locks Xfce4 with Alt-Tab
- From: dkg at fifthhorseman.net (Daniel Kahn Gillmor)
- Date: Mon, 18 Jul 2016 01:11:04 +0200
- Message-id: <[🔎] email@example.com>
- In-reply-to: <20160717201910.3585.60774.reportbug@Asus-901>
- References: <20160717201910.3585.60774.reportbug@Asus-901>
Control: affects 831626 xfce4
Control: tags 831626 + moreinfo
On Sun 2016-07-17 22:19:10 +0200, Alain wrote:
> Package: pinentry-gtk2
> Version: 0.9.7-5~bpo8+1
> Severity: important
> First, prepare an encrypted file with gpg that I call myfile.gpg.
> To reproduce this bug, I do :
> 1. Open two windows of xfce4-terminal
> 2. Type F11 to put one terminal in full screen.
> 3. Alt-Tab to return in the other terminal.
> 4. Run : gpg -d myfile.gpg
> 5. pinentry is launched automatically.
> 6. Type Alt-Tab to return on the other terminal.
> Now it is impossible to launch any command or to select another window.
> X is locked.
> Only a "kill -9" from a non-graphic console is possible and after that,
> Alt-Tab or F11 is possible again.
> I think that Alt-Tab should be forbidden when pinentry-gtk2 is displayed.
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
NOTE: this will print whatever passphrase you enter to the terminal, so
do not type a real passphrase here.
Alain, if you encounter this problem, does hitting the "escape" key or
"enter" dismiss the pinentry dialog and restore the functionality of
your session without needing to switch to a non-graphical console?
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 948 bytes
Desc: not available