Bug 4861 - reply always uses the text/plain part; was hoping to reply to the HTML view
Summary: reply always uses the text/plain part; was hoping to reply to the HTML view
Status: RESOLVED INVALID
Alias: None
Product: Claws Mail
Classification: Unclassified
Component: UI/Compose Window (show other bugs)
Version: GIT
Hardware: PC Linux
: P3 enhancement
Assignee: users
URL:
Depends on:
Blocks:
 
Reported: 2025-04-22 02:29 UTC by Pierre Fortin
Modified: 2025-04-22 17:58 UTC (History)
0 users

See Also:


Attachments

Description Pierre Fortin 2025-04-22 02:29:13 UTC
4.3.0git51

MS OutLook delivers messages with different wrapping for the text/plain and text/html parts. 

text/plain: lines are quite short (~50 characters)
text/html: long lines without 0x0a which are present in text/plain

The wrapping destroys code -- trying to get the sender to find/fix this wrapping...

When I hit Reply the text/plain part is selected regardless of whether I'm viewing the text/plain or text/html parts. 

Granted the source of the wrapped lines is due to MS OutLook; but the choice of using text/plain exclusively is a CM's.

This enhancement request may not be implemented because it's HTML; so just reporting this for the record and possibility of future effort. 

Although, the HTML view it acceptable and that displayed text is what I'd like to see go into the compose buffer (if that's a viable option).
Comment 1 Paul 2025-04-22 07:05:06 UTC
Not sending HTML-mail is a Claws Mail feature.
Comment 2 Paul 2025-04-22 07:13:06 UTC
... and, by the way, wrapping is user-configurable.
Comment 3 Pierre Fortin 2025-04-22 16:23:01 UTC
(In reply to Paul from comment #1)
I was not suggesting sending HTML. I was trying to suggest that since CM internally [appears to] convert incoming HTML to plain text for display purposes, that text could be used to import into the compose window -- just a plain text version of the HTML which appears to already be available. HTH
Comment 4 Pierre Fortin 2025-04-22 16:28:08 UTC
(In reply to Paul from comment #2)
Are you implying there is a CM setting to unwrap the quoted text in a reply?
Or did you mean to say in the sender's MUA which is what I'm trying to get him to find/fix...
Comment 5 Paul 2025-04-22 16:33:27 UTC
(In reply to Pierre Fortin from comment #3)
Hmm... The comverted plain text of the HTML part as displayed is also used in a reply, converted to plain text. What you are asking for is already the case.
Comment 6 Paul 2025-04-22 16:35:56 UTC
Hmm, I think I might have worked out what you are trying to explain...

You should select the text when viewing the HTML part and then hit 'reply'.
Comment 7 Pierre Fortin 2025-04-22 17:09:30 UTC
(In reply to Paul from comment #6)
I guess this all boils down to:
- text/plain view: default is to quote all if nothing selected
- text/html view: requires selecting all to quote

Why not simply use the displayed view in both cases?
Comment 8 Paul 2025-04-22 17:58:58 UTC
This has nothing directly to do with text/html. Whatever type of attachment you are viewing, even if text/plain, when hitting reply the message body is quoted by default. You can override this default behaviour by selecting text, re Comment#6

Note You need to log in before you can comment on or make changes to this bug.