Bug 72808 - reply to myself is broken / empty To: address field
Summary: reply to myself is broken / empty To: address field
Status: RESOLVED FIXED
Alias: None
Product: kmail
Classification: Applications
Component: general (show other bugs)
Version: 1.6
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
: 74094 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-01-17 14:05 UTC by Thomas Reitelbach
Modified: 2007-09-14 12:17 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
proposed patch (3.07 KB, patch)
2004-01-17 16:21 UTC, Ingo Klöcker
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Reitelbach 2004-01-17 14:05:08 UTC
Version:           1.5.94 (using KDE 3.1.94 (CVS >= 20031206), compiled sources)
Compiler:          gcc version 3.3.1
OS:          Linux (i686) release 2.6.0

Sometimes i notice that the "To:" field is empty when i try to reply to a message. 
After little investigation i found that this only happens when i try to reply to messages sent by myself (mailinglists for example, or when i send a short reminder to myself).

Pleyse try these steps to reproduce:

- Send a new message to yourself. you should not have a reply-to address defined in your identity. also your mail should not pass a mailinglist that sets some kind of "Mailinglist:" header or such. Just a plain message to yourself.
- fetch new mail
- try to reply to this message, press "R".

What i see: The "To:" field in the reply-composer window is empty.


This is the relevant debug output from kmail when i press "R":

--- snip ---
tr:~$ kmail: ### INCOMPLETE with protocol = imap
kmail: enable progress
kmail: ImapJob::slotGetMessageResult - retrieved part
kmail: KMMessage::setDrafts drafts
kmail: Check whether "Thomas Reitelbach" <tr@erdfunkstelle.de> is one of my addresses
kmail: Removing "Thomas Reitelbach" <tr@erdfunkstelle.de> from the address list
kmail:
**
** ObjectTreeParser::parseObjectTree( node OK, showOnlyOneMimePart: TRUE ) **
**
--- snap ---

The bug does not occur when i choose "reply to sender", it only happens with "R" and "L" (yes, L doesn't make sence when replying to only one person... but i was curious ;-)). 
It seems kmail tries to be smart, and above behaviour does make perfect sence when replying to "all" or to a mailinglist. 
But in this special case kmail should not remove my own address from the list.

Thomas
Comment 1 Ingo Klöcker 2004-01-17 16:12:16 UTC
This will be fixed in KDE 3.2.1. For now please try the attached patch.
Comment 2 Ingo Klöcker 2004-01-17 16:21:43 UTC
Created attachment 4208 [details]
proposed patch
Comment 3 Thomas Reitelbach 2004-01-17 18:23:57 UTC
Your patch fixes it here locally.
Thank you very much :-)

It'd be nice to see the fix in post-3.2
Therefore i leave the bug so that it doesn't get lost.
Comment 4 Ingo Klöcker 2004-02-01 15:05:10 UTC
I've committed the patch for KDE 3.2.1.
Comment 5 Ingo Klöcker 2004-02-01 15:05:51 UTC
Forgot to close the bug report. Sorry, for the noise.
Comment 6 Ingo Klöcker 2004-02-04 00:03:42 UTC
*** Bug 74094 has been marked as a duplicate of this bug. ***