Bug 289829

Summary: Reply using HTML: Quoted plain text alternative isn't prefixed
Product: [Applications] kmail2 Reporter: Bernd Oliver Sünderhauf <pancho.s>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED UNMAINTAINED    
Severity: normal CC: arthur, montel, trebor_x
Priority: NOR    
Version: 4.8   
Target Milestone: ---   
Platform: Unlisted Binaries   
OS: Linux   
Latest Commit: Version Fixed In:

Description Bernd Oliver Sünderhauf 2011-12-26 06:57:37 UTC
Version:           4.8
OS:                Linux

When replying to a HTML mail, the reply is created as a multipart MIME mail, so a plain text version is also included. However the quoted mail isn't prefixed with "> " unlike in a straight plain text reply.

Reproducible: Always

Steps to Reproduce:
1. Reply to a HTML formatted mail
2. Replace the "To:" address by your own one.
3. View the received mail in plain text mode.

Actual Results:  
The quoted original mail isn't prefixed.

Expected Results:  
It should be prefixed with "> " like any regular text-only reply.
Comment 1 Bernd Oliver Sünderhauf 2011-12-27 04:37:30 UTC
Actually the plain text version doesn't only miss the quote signs ">" but also loses all formatting.
Usually some transcription takes place to preserve at least some of the formatting such as:
- append <http://test.de> for links
- wrap bold text in stars (*)
- wrap italics text in slashes (/)
- wrap underlined text in underscores (_)
- transcribe list items to stars resp. ordinal numbers
so at display time some of the formatting can be restored.

Actually Kmail does have the functionality to do so when replying to a text-only message - buggy but better than nothing.
Comment 2 Laurent Montel 2012-08-15 21:43:15 UTC
I confirm it.
Will look at when I can do.
Comment 3 Laurent Montel 2012-11-02 09:33:10 UTC
(In reply to comment #1)
> Actually the plain text version doesn't only miss the quote signs ">" but
> also loses all formatting.
> Usually some transcription takes place to preserve at least some of the
> formatting such as:
> - append <http://test.de> for links
> - wrap bold text in stars (*)
> - wrap italics text in slashes (/)
> - wrap underlined text in underscores (_)
> - transcribe list items to stars resp. ordinal numbers
> so at display time some of the formatting can be restored.
> 
> Actually Kmail does have the functionality to do so when replying to a
> text-only message - buggy but better than nothing.

Now in 4.10 we have formatting in plain text.
Comment 4 Laurent Montel 2012-11-02 09:34:18 UTC
now I will try to fix prefixed plain text
Comment 5 Laurent Montel 2012-11-22 18:49:09 UTC
We can't fix prefixed plain text in actual composer.
We can add "quoteblock" but QTextEdit doesn't store it, it stores just indent.
It will possible with new composer I think (based on webkit).
Comment 6 Denis Kurz 2016-09-24 18:07:26 UTC
This bug has only been reported for versions before 4.14, which have been unsupported for at least two years now. Can anyone tell if this bug still present?

If noone confirms this bug for a Framework-based version of kmail2 (version 5.0 or later, as part of KDE Applications 15.12 or later), it gets closed in about three months.
Comment 7 Denis Kurz 2017-01-07 22:00:45 UTC
Just as announced in my last comment, I close this bug. If you encounter it again in a recent version (at least 5.0 aka 15.08), please open a new one unless it already exists. Thank you for all your input.