Bug 306034 - Kmail-4.8.3 does not select the relevant account when replying to a message
Summary: Kmail-4.8.3 does not select the relevant account when replying to a message
Status: RESOLVED FIXED
Alias: None
Product: kmail2
Classification: Applications
Component: composer (show other bugs)
Version: 4.8.3
Platform: Gentoo Packages Linux
: NOR major
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-08-30 14:57 UTC by Christian
Modified: 2012-12-11 19:37 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 4.9


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christian 2012-08-30 14:57:22 UTC
I replied to a message by using the keyboard shortcut for "reply". It opened a window where I could compose my reply. However, the "From" and "Identity" fields were populated with the wrong values (those from a different identity not associated with the folder where the message is). I.e., different From email address and different IMAP account.
I didn't notice this before sending, so I have inadvertently divulged information (email address, signature) that I would not have sent otherwise. That's why I am marking this as "Serious".

Reproducible: Sometimes

Steps to Reproduce:
1. Reply to an email from the folder view. (I use Kontact all the time.)

Actual Results:  
Reply composer opens with the wrong Identity and From address.

Expected Results:  
Reply composer should open with the correct Identity and From address - those that are associated with the account in question. See "Identities" in the configurations. The email addresses are listed there.

The copy of the reply message was however saved to the correct IMAP sent folder on the account from which I wanted to send the message. Ie. somehow Kmail2 did still know that the email belongs to that account. However, in the message it wrote the "From" address and signature for the wrong identity.
Comment 1 Christian 2012-08-30 15:02:58 UTC
PS The same problem occurs with using the right-click menus. I think KMail remembers the last used account for sending a message, instead of using the correct account for replying to/sending again/forwarding messages etc. This is not what the words mean to me. If e.g. I "send again" a message, it should be preset to send from the same account. Same with "reply" and "reply all" and "forward".
Comment 2 Christian 2012-08-30 15:07:11 UTC
PS In the KMail settings, I have specified the identities also in the "Accounts" settings - i.e., for both accounts it is not set to "Use the default identity". Instead, for each of the accounts in question, the appropriate Identities are specified in the settings.
Comment 3 Laurent Montel 2012-08-30 15:25:14 UTC
Already fixed in 4.8.5/4.9
Comment 4 Christian 2012-08-31 15:07:21 UTC
That's a relief! Thanks!!
Comment 5 Martin Tlustos 2012-11-08 07:50:19 UTC
Seems to be still there if I click on "resend message" or use any other method (forward, reply) in my "sent" folder within an imap account.
Comment 6 Laurent Montel 2012-11-08 09:17:50 UTC
(In reply to comment #5)
> Seems to be still there if I click on "resend message" or use any other
> method (forward, reply) in my "sent" folder within an imap account.

you use which version ?
Comment 7 Martin Tlustos 2012-11-08 10:13:02 UTC
4.9.2 from  Kubuntu 12.10 packages
Comment 8 Christian 2012-12-11 19:37:07 UTC
I think the behaviour that I meant to report when starting this bug was because of bug https://bugs.kde.org/show_bug.cgi?id=299270 - that bug is still present. However, good to know that something else relating to this behaviour has already been fixed (Comment 3 https://bugs.kde.org/show_bug.cgi?id=306034#c3).