Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

failure to display pinentry in floating mode #279

Closed
bendlas opened this issue Jul 18, 2017 · 2 comments
Closed

failure to display pinentry in floating mode #279

bendlas opened this issue Jul 18, 2017 · 2 comments

Comments

@bendlas
Copy link

bendlas commented Jul 18, 2017

Since the latest release (pinentry 1.0.0), when gpg-agent tries to open pinentry to get a password, the pinentry window just flashes, but returns an Operation Cancelled to gpg-agent and there appears a message in the syslog:

emacs-25.2[27257]: gtk_window_parse_geometry() called on a window with no visible children; the window should be set up before gtk_window_parse_geometry() is called.

Different WMs, including stumpwm and gnome3 don't have this problem. Also, (setq exwm-manage-force-tiling t) solves the problem, but then shows pinentry in tiling mode.

@ch11ng
Copy link
Owner

ch11ng commented Jul 23, 2017

I believe pinentry 1.0.0 has been released for a long time. Which version did you use before this one? And which flavor (gnome3 or gtk2)? There is also a tty flavor that I think works better with Emacs.

The log message is similar to that in #263. Could you try the test in #263 (comment) ?

@bendlas
Copy link
Author

bendlas commented Jul 24, 2017

Till recently, I was using some 0.9.9 version. I'm using the gtk2 version. The problem seems to be the same, indeed:

% echo GETPIN | pinentry-gtk-2
OK Pleased to meet you

** (pinentry-gtk-2:32051): CRITICAL **: could not grab keyboard: not viewable (3)

** (pinentry-gtk-2:32051): WARNING **: it took 4097 tries to grab the keyboard

** (pinentry-gtk-2:32051): CRITICAL **: could not grab pointer: not viewable (3)

** (pinentry-gtk-2:32051): WARNING **: it took 4097 tries to grab the pointer
ERR 83886179 Operation cancelled <Pinentry>

I'll try the debian patches and will incorporate them into NixOS, if working.
Thanks!

@bendlas bendlas closed this as completed Jul 24, 2017
bendlas added a commit to bendlas/nixpkgs that referenced this issue Aug 12, 2017
fpletz pushed a commit to NixOS/nixpkgs that referenced this issue Aug 21, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants