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 595955 - Reply to multipart/alternative messages is forced to HTML
Reply to multipart/alternative messages is forced to HTML
Status: RESOLVED DUPLICATE of bug 481915
Product: evolution
Classification: Applications
Component: Mailer
2.26.x (obsolete)
Other Linux
: Normal normal
: ---
Assigned To: evolution-mail-maintainers
Evolution QA team
evolution[composer]
Depends on:
Blocks:
 
 
Reported: 2009-09-22 13:41 UTC by Patrick OCallaghan
Modified: 2010-09-10 05:22 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Patrick OCallaghan 2009-09-22 13:41:21 UTC
Despite having "Prefer plain" set in Mail Preferences, if I reply to a multipart/alternative message which has both Plain and HTML sections, the reply sets the composer to HTML and not Plain.

If the reply uses a text selection for quoting, the composer goes into Plain mode as desired.
Comment 1 xavier.bestel 2009-10-09 14:18:07 UTC
If Evo behaved as you want, you couldn't easily go back to HTML mode: after hitting "reply", the text part would be quoted, and if you go to HTML mode you would have htmlized text, but not the original HTML from the message.
Comment 2 Patrick OCallaghan 2009-10-09 15:00:16 UTC
If I want to reply using HTML I can select the HTML version and hit Reply. The fact is that someone who uses Plain as default, and views the original in Plain, is highly likely to want to compose the reply in Plain as well. The current setup makes them do extra work to obtain this, using a "feature" which looks more accidental than intentional and could well disappear in a future version.

The unambiguous rule should be: when replying to an HTML message use HTML, and when replying to a Plain message (or a Plain alternative of a multipart message) use Plain.
Comment 3 xavier.bestel 2009-10-09 15:03:01 UTC
How do you select the HTML version before replying ?
Comment 4 Patrick OCallaghan 2009-10-09 16:33:09 UTC
My mistake, there doesn't seem to be a way to select HTML before replying (perhaps there should be). OTOH I sent myself a test HTML mail and was able to reply in HTML simply by hitting Reply and selecting HTML from the format bar. The HTML formatting of the original was preserved in the quoted reply.

*However* I'm rethinking my original report on this. The problem doesn't seem to be as simple as I thought. A multipart/alternative with Plain and HTML parts does work OK, i.e. the reply is in Plain. The problem arises when the parts are HTML and Rich Text, not Plain. If this is the case (I'll need to find some examples to check) then it's hard to see what else Evo can do as there isn't a Plain part to reply to.
Comment 5 Milan Crha 2010-09-09 07:32:44 UTC
Could this be solved by bug #481915, simply replying in the same format as is shown in the preview pane? I mean which part is used for quoting.
Comment 6 Patrick OCallaghan 2010-09-09 23:18:29 UTC
That would make a lot of sense, in that it fulfills the Principle of Least Astonishment.
Comment 7 Milan Crha 2010-09-10 05:22:52 UTC
OK, thanks, so I'm marking it as a duplicate of it, to have them on the same place.

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