Bug 233764 - pinentry window in thunderbird do not come to front
Summary: pinentry window in thunderbird do not come to front
Status: RESOLVED FIXED
Alias: None
Product: kleopatra
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Microsoft Windows
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-08 20:14 UTC by jürgen
Modified: 2024-09-11 23:10 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Fix focus window issue in pinentry-qt4 (480 bytes, patch)
2011-11-26 15:23 UTC, Daniel Eklöf
Details

Note You need to log in before you can comment on or make changes to this bug.
Description jürgen 2010-04-08 20:14:48 UTC
Version:           2.0.14-svn1098530 (2010-03-03) (using 4.1.4, compiled sources)
Compiler:          i586-mingw32msvc-gcc
OS:                Microsoft Windows (i686) release 5.1 (XP Professional)

When i click on a encrypted mail in thunderbird, thunderbird is hanging. When i exit thunderbird then i become the pinentry window for typing the passphrase. Then i can type it and at the next start of thunderbird the encrypted mail is decrypted.
Comment 1 husimon 2011-08-22 22:13:27 UTC
I can confirm this. As long as I use only KMail or Thunderbird without installing kleopatra, I can avoid problems by editing the gpg-agent.conf file and replace the prog "/usr/bin/pinentry-qt4" with "/usr/bin/pinentry-gtk-2" instead of pinentry-qt4. This work-around is available and described by others. However, as soon as I install kleopatra, the gpg-gent is "hard-coded" (?) to be pinentry-qt4. Apparantly, pinentry-qt4 is causing a lot of problems, because the Passphrase entry screen appears in a backgrounded window (can't be brought to "focus"!). The passphrase pop-up is shown for less than a second and the user has no chance to enter the passphrase. Immediately after the sequence, a pop-up tells user that his PASSPHRASE is incorrect! No wonder, since the passphrase field remains empty!! This breaks the whole GnuPG setup.

Distr: Kubuntu 11.04
Comment 2 Daniel Eklöf 2011-11-26 15:23:40 UTC
Created attachment 66093 [details]
Fix focus window issue in pinentry-qt4

For a workaround for pinentry-qt4 disappearing before you can enter a passphrase, see comment #6 in bug 245288.

For the other issue, with pinentry-qt4 not being focused correctly, the attached patch worked for me.
Comment 3 Emanuel Schütze 2013-05-08 13:55:53 UTC
Should be fixed with pinentry-qt4 in current Gpg4win release.