Page MenuHome GnuPG

Kleopatra: show only one error/information window for a certificate import
Testing, NormalPublic

Description

Follow up from T6268: When importing an S/MIME certificate and giving a wrong passphrase, the error dialog shows "wrong passphrase" and has the "Show Audit Log" button:

When you click on the "Show Audit Log" button, the audit log opens and immediately the import result window opens above the audit log:

When you click on the audit log there, you get:

That is you get 2 audit logs for the same failed import.

My preference would be that only the first error window would be shown and no import result window with 0 imports. It is redundant and therefore annoying. Would it be possible to show the import results window only if there was at least one import operation without error? (We have to provide for the case of import of multiple keys, too)