Bug 265569

Summary: Blank message composing templates cannot be reset to defaults
Product: [Unmaintained] kmail Reporter: Davor Cubranic <cubranic>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: NOR    
Version: 1.13.5   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: kmailrc causing the problem

Description Davor Cubranic 2011-02-06 03:34:17 UTC
Version:           1.13.5 (using KDE 4.5.1) 
OS:                Linux

At one point (as described in bug 254530), I lost the settings for templates for replies to sender, replies to all/list, and forwarding. All templates were reset to %BLANK.

What I thought should be possible is to reset them to their out-of-the-box defaults by clicking the "defaults" button in the settings dialog. This seems to have no effect, however. I'm opening this bug to track the reset-to-defaults issue, as opposed to bug 254530.

Reproducible: Didn't try
Comment 1 Davor Cubranic 2011-02-09 15:12:11 UTC
Created attachment 57017 [details]
kmailrc causing the problem

I had a look at my kmailrc, and there is definitely something funny going on in there. The GlobalTemplates section sets all composition templates to blank, but then there are additional templates for a couple of identities and folders that contain what looks like the correct template. For example:

[GlobalTemplates]
PhrasesConverted=true
QuoteString=
TemplateForward=%BLANK
TemplateNewMessage=%BLANK
TemplateReply=%BLANK
TemplateReplyAll=%BLANK

[Templates #IDENTITY_214245710]
QuoteString=>%_
TemplateForward=%REM="Default forward template"%-\n\n----------  Forwarded Message  ----------\n\nSubject: %OFULLSUBJECT\nDate: %ODATE\nFrom: %OFROMADDR\nTo: %OTOADDR\n\n%TEXT\n-------------------------------------------------------\n
TemplateNewMessage=%REM="Default new message template"%-\n%BLANK
TemplateReply=%REM="Default reply template"%-\nOn %ODATEEN %OTIMELONGEN you wrote:\n%QUOTE\n%CURSOR\n
TemplateReplyAll=%REM="Default reply all template"%-\nOn %ODATEEN %OTIMELONGEN %OFROMNAME wrote:\n%QUOTE\n%CURSOR\n

I'm attaching a copy of my kmailrc (sensitive account information removed).
Comment 2 Christophe Marin 2011-02-16 01:38:54 UTC

*** This bug has been marked as a duplicate of bug 184307 ***