Bug 476510

Summary: kmail loses the template settings when modifying other params
Product: [Applications] kmail2 Reporter: Christophe Marin <christophe>
Component: config dialogAssignee: kdepim bugs <kdepim-bugs>
Status: REPORTED ---    
Severity: normal Keywords: qt6
Priority: NOR    
Version: Git (master)   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:

Description Christophe Marin 2023-11-03 15:13:49 UTC
Issue is reproducible with git master.

Start KMail, open settings, change settings from an unrelated page, apply/ok

Results in templates being blanked:

# diff -u kmail2rc.bkp kmail2rc
--- kmail2rc.bkp        2023-11-03 16:08:57.555567801 +0100
+++ kmail2rc    2023-11-03 16:09:31.386193952 +0100
@@ -112,6 +112,7 @@
 2 screens: XPosition=0
 2 screens: YPosition=28
 DP-5 HDMI-0=HDMI-0
+RestorePositionForNextInstance=false
 State=AAAA/wAAAAD9AAAAAAAAB1AAAANyAAAABAAAAAQAAAAIAAAACPwAAAABAAAAAgAAAAEAAAAWAG0AYQBpAG4AVABvAG8AbABCAGEAcgEAAAAA/////wAAAAAAAAAA
 ToolBarsMovable=Disabled
 
@@ -325,7 +326,12 @@
 Language=en_US
 
 [TemplateParser]
+QuoteString=
 StripSignature=false
+TemplateForward=%BLANK
+TemplateNewMessage=%BLANK
+TemplateReply=%BLANK
+TemplateReplyAll=%BLANK
 smart-quote=false
 
 [Translate]
Comment 1 Christophe Marin 2023-11-03 15:16:35 UTC
For the test, I unchecked "Exclude important messages from expiry on the Misc page, apply / re-check / apply