Kleopatra / Win 10 - Sign and Encrypt window doesn't show up
Open, NormalPublic

Description

I observe quite annoying issue: Sign/Encrypt window doesn't appear to me which makes the app unusable.
It could be a bug related to different resolutions and scaling settings on two monitors.

Steps to reproduce:

  1. select several files on desktop
  2. open context menu
  3. click "Sign and Encrypt"

Expected result: Dialog window appears to me with parameters of signing/encryption
Actual result: I see window title in taskbar "Sign/Encrypt Files - ...". But window doesn't appear. I cannot make it visible.

Additional information:
Windows 10 Version 1909 (OS Build 18363.592)
Two monitors:

  • Laptop native 2560x1440, 150% scale
  • 2nd monitor: 1920x1080, 100% scale (this is main monitor)

Details

Version
3.1.11-Gpg4win-3.1.11 5.55.0, Gpg4win

I've downgraded to gpg4win-3.1.10 - still be reproducible...

aheinecke triaged this task as Normal priority.Jan 21 2020, 1:22 PM
aheinecke added a subscriber: aheinecke.

Thanks for the report. I have observed that the Window is sometimes opened in the background so I accept that this is an issue for Kleopatra somehow and we need to look into it. I know that your problem is a bit different but that is related.

As a quick support help. Shutdown Kleopatra: Go to %APPDATA%\kleopatra and rename the file "kleopatrarc" to "kleopatrarc.old" and try again. That should work as the last Window position / geometry of the File Encrypt dialog is saved in that file.

Result of renaming:
It helped, but only for 1st run. Then problem occurs again.
I've tried to restart the app, but it doesn't help.

I've compared kleopatrarc.old and newly created kleopatrarc and found difference in section "[SignEncryptFilesWizard]"
I've removed that section from kleopatrarc with restarting the app and it worked again! but only once :-/

I think these settings are generated in a wrong way on first show of the SignEncryptFilesWizard and then it stores new config in memory.

I believe "geometry" field value from [SignEncryptFilesWizard] can help in debug.
But I'm not sure about posting it here: does it contain any sensitive info?

I am also having this issue, but it is with Decrypt & Verify. It basically renders the app unusable. What happens is that when you click the button another window opens but it seems to be in the background, because it just looks white and it won't appear when you click on it. This happens for all files it seems.

Currently using a workaround where it seems like Kleopatra actually already stores the decrypted file in the "C:\Users\[user]\AppData\Local\Temp\kleopatra-[random string]" directory while the window hangs. If you go there you can find the decrypted file.