Bug 358802

Summary: KMail settings - key expire warning doesn't enable apply button
Product: [Applications] kmail2 Reporter: Christian Boltz <kde-bugs>
Component: config dialogAssignee: kdepim bugs <kdepim-bugs>
Status: VERIFIED FIXED    
Severity: normal CC: montel
Priority: NOR    
Version: 5.1   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In: 5.1.2
Sentry Crash Report:

Description Christian Boltz 2016-01-30 23:09:47 UTC
In the KMail settings dialog, you can setup a warning if keys or certificates expire soon. Unfortunately, changing those values doesn't enable the 'apply' button and also doesn't cause a question when switching to another part of the config dialog.

Reproducer:
- open the KMail config dialog
- go to "security"
- go to the "misc" tab
- in the "warn if certificates/keys expire soon", change one of the values (for example 20 days instead of 14)

Expected results:
- the 'apply' button gets enabled
- when switching to another area of the config dialog (for example "idendities"), KMail asks if the changes should be saved

Actual result: none of the above

The good news is that the changed values get saved when clicking the "OK" button.

(KMail 5.1.1 on openSUSE Tumbleweed)
Comment 1 Laurent Montel 2016-01-31 07:12:53 UTC
I confirm it.
Comment 2 Laurent Montel 2016-01-31 07:24:40 UTC
Git commit e9d1baf2595bab9976b483e1f0719bc6c1818f78 by Montel Laurent.
Committed on 31/01/2016 at 07:24.
Pushed by mlaurent into branch 'Applications/15.12'.

Fix Bug 358802 - KMail settings - key expire warning doesn't enable apply button

FIXED-IN: 5.1.2

M  +6    -0    kmail/configuredialog/configuresecuritypage.cpp

http://commits.kde.org/kdepim/e9d1baf2595bab9976b483e1f0719bc6c1818f78
Comment 3 Christian Boltz 2016-02-27 21:57:08 UTC
Verified in KMail 5.1.2. Thanks for the quick fix!