Bug 316917

Summary: switch to plain-text quotation from HTML-reply
Product: [Applications] kmail2 Reporter: Silver Salonen <silver.salonen>
Component: composerAssignee: kdepim bugs <kdepim-bugs>
Status: REPORTED ---    
Severity: wishlist CC: franklin, gszymaszek, montel, winter
Priority: NOR    
Version: 4.10.1   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In: 4.11
Sentry Crash Report:

Description Silver Salonen 2013-03-17 16:29:20 UTC
As it sometimes happens that HTML-reply is not very consistent with the original HTML-code, I'd like to switch from replying with HTML to replying by plain text. When I just uncheck "Options -> Formatting (HTML)" the original e-mail is not quoted properly as it is when unchecking "Reply using HTML if present".

As "Options -> Formatting (HTML)" is not intended only for replying I guess it wouldn't do to change the behavior of this option. There should still be some easy way to reply to individual e-mails with proper plain-text quotations (or switch to the quotations while replying, but I guess that would be not so easy to implement).

Reproducible: Always

Steps to Reproduce:
1. Check setting "Reply using HTML if present"
2. Open some HTML-email
3. Reply to it
Actual Results:  
If quoted HTML-code is not of satisfactory and plain-text reply is preferred, the "Reply using HTML if present" setting needs to be unchecked and checked after replying to the e-mail. It's just inconvenient. 

Expected Results:  
It would be much easier if there would be a button to reply with plain-text quotation.
Comment 1 Laurent Montel 2013-03-18 06:40:02 UTC
Sorry but if we do it we must create the same menu without formatting.
=> reply to author as plain text
-> reply to all as plain text
etc.
so better to uncheck this option if you don't like reply as html.
Comment 2 Silver Salonen 2013-03-18 06:49:42 UTC
Checking and unchecking it for every 2nd e-mail is really-really inconvenient.
What about the functionality to switch from HTML-reply to plain-text "inline"? I mean something like unchecking "Options -> Formatting (HTML)", but with adding proper plain-text quotation.
Comment 3 Silver Salonen 2013-03-23 12:37:18 UTC
Any thoughts on the 2nd idea? I mean the one about adding plain-text quotation.
Comment 4 Laurent Montel 2013-03-26 06:28:44 UTC
We can't do it with current html widget.
Comment 5 Allen Winter 2013-06-04 19:39:41 UTC
in 4.11, there will be a button conveniently located on the composer toolbar that allows toggling between plaintext and richtext.  

resolving this one.
Comment 6 Silver Salonen 2013-06-17 11:39:22 UTC
Is "Options -> Rich Text Editing" somehow different from what was "Options -> Formatting (HTML)"?
To my mind it behaves exactly the same.
Comment 7 Silver Salonen 2013-07-03 10:36:11 UTC
Actually I've discovered that the only difference now is that I cannot get rid of this option being turned on by default.
1) Uncheck "Reply or forward using HTML if present"
2) Open composer (new, reply or forward) -- "Options -> Rich Text Editing" is turned on
3) Turn "Options -> Rich Text Editing" off
4) Repeat steps 1 and 2

Actual results: "Options -> Rich Text Editing" is turned on again
Expected results: "Options -> Rich Text Editing" is turned off (as it was before)

BTW, I'm using KMail 4.10.90 currently.
Comment 8 Silver Salonen 2013-07-09 11:22:27 UTC
(In reply to comment #7)
> Actually I've discovered that the only difference now is that I cannot get
> rid of this option being turned on by default.
> 1) Uncheck "Reply or forward using HTML if present"
> 2) Open composer (new, reply or forward) -- "Options -> Rich Text Editing"
> is turned on
> 3) Turn "Options -> Rich Text Editing" off
> 4) Repeat steps 1 and 2
> 
> Actual results: "Options -> Rich Text Editing" is turned on again
> Expected results: "Options -> Rich Text Editing" is turned off (as it was
> before)
> 
> BTW, I'm using KMail 4.10.90 currently.

It seems it happens when I use an identity with HTML-enabled signature.
Comment 9 John Franklin 2022-06-21 17:51:34 UTC
Using KMail 5.19.3 (Debian bookworm/testing), converting from HTML to plain-text adds in a ton of extra linefeeds, to the point that you have to re-format the entire message by hand before you can write your reply to it.