After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 692775 - Double-quoting message with HTML and text
Double-quoting message with HTML and text
Status: RESOLVED FIXED
Product: evolution
Classification: Applications
Component: Mailer
3.6.x (obsolete)
Other Linux
: Normal normal
: ---
Assigned To: evolution-mail-maintainers
Evolution QA team
Depends on:
Blocks:
 
 
Reported: 2013-01-29 10:06 UTC by Milan Crha
Modified: 2013-01-29 13:50 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
evo patch (899 bytes, patch)
2013-01-29 13:40 UTC, Milan Crha
committed Details | Review

Description Milan Crha 2013-01-29 10:06:49 UTC
Moving this from a downstream bug report:
https://bugzilla.redhat.com/show_bug.cgi?id=903682

Description of problem:
When replying to a message with both text and html bodies, the reply quotes the body twice.

Version-Release number of selected component (if applicable):
evolution-3.6.3-1.fc18.x86_64

How reproducible:
Always

Steps to Reproduce:
1. Reply to a message that has text and HTML copies.
2.
3.
  
Actual results:
Body of message is quoted twice

Expected results:
Body of message is quoted once.

Additional info:
This is a regression from F17.

I have "show suppressed..." checked and HTML mode set to "show plain text if present."  Reply style is "quoted". Nothing else is checked in Composer Preferences except "group replies go to mailing list". (No character encoding is selected.)

I tried changing HTML mode to "show HTML if present" and that does change the behavior.  So it is the "show plain text" setting that exhibits the problem.
Comment 1 Milan Crha 2013-01-29 12:08:07 UTC
I can confirm this, I see it too.
Comment 2 Milan Crha 2013-01-29 12:59:59 UTC
After an investigation I caused this with a change for bug #681279.
Comment 3 Milan Crha 2013-01-29 13:40:39 UTC
Created attachment 234725 [details] [review]
evo patch

for evolution;

This fixes it. The change for the bug #681279 is still required, in case the text/html parts are suppressed by the prefer-plain, but they still can be avoided, by marking them as attachments - which they actually are, in prefer-plain itself, when there is a text/plain part included.
Comment 4 Milan Crha 2013-01-29 13:50:49 UTC
Created commit 6d7b644 in evo master (3.7.5+)
Created commit 61f3f56 in evo gnome-3-6 (3.6.4+)