Bug 452296

Summary: Email won't be encrypted automatically
Product: [Applications] kmail2 Reporter: christoph.klassen
Component: cryptoAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED WORKSFORME    
Severity: normal CC: aheinecke, bernhard
Priority: NOR    
Version: 5.19.3   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:

Description christoph.klassen 2022-04-05 12:55:56 UTC
SUMMARY
In the settings I enabled automatic encryption but encryption isn't activated when I write a new email.


STEPS TO REPRODUCE
1. Open settings for account and go to "Cryptography"
2. Enable the option "Automatically encrypt messages when possible".
3. Close the settings and click on "New" to write an email.

OBSERVED RESULT
The button "Encrypt" isn't activated.

EXPECTED RESULT
I would expect that the button "Encrypt" would be activated.

SOFTWARE VERSIONS
KDE neon 5.24
KDE Plasma Version: 5.24.4 
KDE Frameworks Version: 5.92.0
Qt Version: 5.15.3
Comment 1 Andre Heinecke 2023-07-04 11:46:58 UTC
This works as intended for me. If encryption is possible, meaning that for every recipient there is a valid encryption key found the encryption is automatically toggled. That was the intention of that feature. I think you are looking for something like "Always encrypt" which would then bring up the keyselection dialog in case no keys were found. I am not sure if there is such an option but you can maybe achive this by changing your address book entry to always encrypt for you.
Comment 2 Bernhard E. Reiter 2023-07-20 10:40:31 UTC
I think maybe https://bugs.kde.org/show_bug.cgi?id=472426 (Enable OpenPGP encryption by default) is better aiming in what this issues was intended to do. :)