Bug 160215 - "Reply to Author" uses "Reply to All" template
Summary: "Reply to Author" uses "Reply to All" template
Status: RESOLVED FIXED
Alias: None
Product: kmail
Classification: Applications
Component: templates (show other bugs)
Version: 1.11.1
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2008-04-01 15:26 UTC by Maciej Pilichowski
Modified: 2009-10-11 23:51 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Maciej Pilichowski 2008-04-01 15:26:17 UTC
Version:            (using KDE 3.5.9)
Installed from:    SuSE RPMs

Today I changed reply and reply to all templates, so I can see the difference between them. I reply to such mail:
sender: my friend
to: probably list
cc: me, other people

and despite I reply to the author (only!), template "reply to all" is used. It would be correct if I used "reply to all" function, but I didn't.
Comment 1 Thomas McGuire 2008-04-03 19:21:21 UTC
I can not reproduce.
I tried the same (changing the default reply to all template), and then used reply to author. I did not use the reply to all template, only reply to all actually used the reply to all template for me.
Comment 2 Maciej Pilichowski 2008-04-03 19:45:17 UTC
I cannot reproduce it for all mail I get, so maybe I paste here the mail header excerpt (once again, if I use "reply" the reply mail fields are as in normal "reply", but the mail content are generated by reply to all template).

Return-Path: <....@.....>
Reply-To: "...." <......>
From: "......" <.....>
To: "........." <........@yahoogroups.com>
Cc: "..........." <.........>,
 "........" <..........>,
 ".........." <.......>
Organization: ...............
MIME-Version: 1.0
Content-Type: multipart/alternative;
  boundary="----=_NextPart_000_00DF_01C893F5.B46CF810"
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2900.3138
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198
Status: R
X-UID: 
X-Status: NC
X-KMail-EncryptionState:  
X-KMail-SignatureState:  
X-KMail-MDN-Sent:  


Is this any help?
Comment 3 Maciej Pilichowski 2008-04-03 19:49:08 UTC
Thomas, sorry for misinformation, I don't use explicitly "reply to author" (this works fine), I use "reply" in order to reply to author.
Comment 4 Maciej Pilichowski 2008-04-03 20:39:10 UTC
Just to avoid confusion (once again sorry :-) ).

REPLY TO ALL:
Fields: reply to all
Content: reply to all

REPLY TO AUTHOR:
Fields: reply to author
Content: reply to author

REPLY
Fields: reply to author
Content: reply to all
Comment 5 Maciej Pilichowski 2008-04-10 08:12:05 UTC
99% this bug is caused by misinterpreting "reply-to" field. I get two almost identical mail -- only to me (no CC fields,  no group at To field) but one of them has "reply to" set. And for this one mixed reply pattern activates.
Comment 6 Jan Essert 2009-04-04 12:34:22 UTC
I can reproduce the behaviour descripted by the reporter on kmail 1.11.1 of kde 4.2.1. In particular, it exactly works as described in comment #4. I also think it is a bug.

Steps to reproduce:
Select a mail sent with multiple addressees in the To: field.

Upon clicking "Reply", a new mail is created with the sender in the To: field, but with the "Reply-to-all" template in the body.

Both the buttons "Reply to author" as well as "Reply to all" work as expected and use the right template.

I suppose the Reply action should work exactly as "Reply to sender" which would make this a bug. Regardless of how Reply should work on such an email - using just one person in the To: field and using the reply-to-all template does not make much sense.

btw: why is there a "Reply to author"-button anyway if it works like "Reply" ?
Comment 7 Maciej Pilichowski 2009-04-04 12:43:06 UTC
Reply is mail content dependent action. So you do not decide what it does. In case of "reply to author" you decide regardless from where this mail comes from -- it could be ML for example.
Comment 8 Martin Koller 2009-10-11 22:47:30 UTC
Can confirm with 4.3.2. Whenever a Reply-To header is present, it uses the Reply-To-All template.
I have a fix already, but I'm checking with the kmail maintainer.
Comment 9 Martin Koller 2009-10-11 23:50:47 UTC
SVN commit 1034077 by mkoller:

BUG: 160215

On smart-reply, use the ReplyAll template only when it's a reply to a mailing list


 M  +3 -1      kmmessage.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1034077
Comment 10 Martin Koller 2009-10-11 23:51:26 UTC
SVN commit 1034078 by mkoller:

Backport r1034077 by mkoller from trunk to the 4.3 branch:

CCBUG: 160215

On smart-reply, use the ReplyAll template only when it's a reply to a mailing list



 M  +3 -1      kmmessage.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1034078