Created attachment 136596 [details] Inconsistent theme Passphrase dialog has white theme while Kleopatra uses dark breeze theme. See attached image.
That's because for security reasons the passphrase dialog is opened by a different application called pinentry. There are many different flavors of pinentry (for Qt, GTK, Gnome, etc.). The pinentry in your screenshot doesn't look like the Qt one. Make sure that you are using pinentry-qt. See `man gpg-agent` for details how to make sure that the correct pinentry is used.
(In reply to Ingo Klöcker from comment #1) > That's because for security reasons the passphrase dialog is opened by a > different application called pinentry. There are many different flavors of > pinentry (for Qt, GTK, Gnome, etc.). The pinentry in your screenshot doesn't > look like the Qt one. Make sure that you are using pinentry-qt. See `man > gpg-agent` for details how to make sure that the correct pinentry is used. I didn't change any gpg agent, and the file /usr/bin/pinentry contains : #!/bin/sh # user-defined pre-exec hook test -r "${XDG_CONFIG_HOME:-$HOME/.config}"/pinentry/preexec && . "${XDG_CONFIG_HOME:-$HOME/.config}"/pinentry/preexec # site-defined pre-exec hook test -r /etc/pinentry/preexec && . /etc/pinentry/preexec test -e /usr/lib/libgtk-x11-2.0.so.0 && exec /usr/bin/pinentry-gtk-2 "$@" exec /usr/bin/pinentry-curses "$@" And on Kleopatra github page it's stated clearly that : "Pinentry-curses does not work for Kleopatra" So the real problem is that Kleopatra on Plasma KDE fails to select the correct pinentry to use because the program. Adding manually "pinentry-program /usr/bin/pinentry-qt" to "gpg-agent.conf" is not user friendly at all.
Well, obviously your distribution prefers the Gtk-variant (/usr/bin/pinentry-gtk-2) of pinentry instead of the Qt-variant. So, please take this bug to your distribution. That Kleopatra could maybe allow you to change the pinentry variant to use via its configuration dialog is a wish. So feel free to open a separate wish/feature request for this. I will close this bug again because a) I have told you how to fix the problem on your system, b) I have told you that you need to talk to your distribution, if you want to have the proper pinentry for your KDE Plasma desktop by default, c) Kleopatra has no influence on the pinentry provided by your distribution and/or configured for the underlying GnuPG.