You are not logged in.

#1 2011-02-11 17:25:14

archtaku
Member
Registered: 2010-07-02
Posts: 84

KDE4 + gpg-agent: pinentry-qt4 doesn't return focus

I've had a nagging issue for a while and I haven't been able to get to the bottom of it. Before I ask for help on the KDE Forum I thought I'd ask my fellow Arch users if they're experiencing the same thing.

I use gpg-agent with ssh support to make using passphrase-protected keys easier. The pinentry program I am using is pinentry-qt4, but when the pinentry box pops up it 1) appears behind other apps, causing me to have to switch to the pinentry window, and 2) doesn't return focus once the passphrase has been entered. This results in no window being set as the active window, which breaks Alt+Tab application switching (the application switcher just says "No Windows" on it). Hitting Alt+F1 to bring up the KDE menu and then closing the menu will return focus to a window, giving me back my Alt+Tab functionality.

These problems occur irrespective of whether or not compositing is enabled.

In the meantime I have switched to using pinentry-gtk-2, and neither of the behaviors described above occur. I'm using the oxygen-gtk theme so there's not much of a difference in how the pinentry window looks, but I would prefer to use pinentry-qt4 as it is "prettier" that way.

So, for those users of KDE4 and pinentry-qt4, is the same thing happening to you? If not, any ideas on what can be done to troubleshoot it?

Last edited by archtaku (2011-02-11 17:26:18)

Offline

#2 2011-02-15 02:37:58

anrxc
Member
From: Croatia
Registered: 2008-03-22
Posts: 835
Website

Re: KDE4 + gpg-agent: pinentry-qt4 doesn't return focus

You should report it here https://bugs.g10code.com/gnupg/  GTK version was not without problems, in the past few years several were fixed, I personally also had good experiences on that bug tracker, managed to get some things fixed.


You need to install an RTFM interface.

Offline

#3 2012-04-08 11:39:41

MAC!EK
Member
Registered: 2005-09-27
Posts: 267

Re: KDE4 + gpg-agent: pinentry-qt4 doesn't return focus

It's been a while since archtaku asked about the pinentry-qt4 problem.
Although the first problem seems to be fixed upstream, recently I found out that the second issue mentioned here affects my system.
I managed to create a patch for the issue and mentioned that on gnupg mailing list: http://lists.gnupg.org/pipermail/gnupg- … 26677.html

Offline

Board footer

Powered by FluxBB