Bug 181513 - Unable to save plain text mail body
Summary: Unable to save plain text mail body
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kmail
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-21 19:30 UTC by Andrey Borzenkov
Modified: 2015-04-12 10:15 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrey Borzenkov 2009-01-21 19:30:33 UTC
Version:            (using Devel)
OS:                Linux
Installed from:    Compiled sources

Mandriva packages based on 4.1.96

It seems, in kmail4 it is nor possible to save inline patches (or any other content) as plain text. The only option available is "Save is" which saves full message body *as* *received* - which means, if message body is quoted-printable, it will be saved as quoted-printable! This of course breaks patch or any other post processing program.

As example, here is (fragment of) inlined patch from lkml.

1. What I see in message viewer:

Index: linux-2.6/drivers/usb/core/hcd-pci.c
===================================================================
--- linux-2.6.orig/drivers/usb/core/hcd-pci.c
+++ linux-2.6/drivers/usb/core/hcd-pci.c
@@ -200,6 +200,7 @@ int usb_hcd_pci_suspend(struct pci_dev *

2. What I get when I do "Save as"

Index: linux-2.6/drivers/usb/core/hcd-pci.c
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
=2D-- linux-2.6.orig/drivers/usb/core/hcd-pci.c
+++ linux-2.6/drivers/usb/core/hcd-pci.c
@@ -200,6 +200,7 @@ int usb_hcd_pci_suspend(struct pci_dev *

Message headers:

MIME-Version: 1.0
Content-Type: text/plain;
  charset="utf-8"
Content-Transfer-Encoding: quoted-printable

This is regression against KDE3. I never had any issues with saving inline patches in KDE3; and kernel documentation considers kmail as conditionally appropriate for sending patches. This bug makes it practically impossible to *receive* such patches.
Comment 1 Jaime Torres 2009-01-23 11:25:18 UTC
Confirmed in svn trunk rev 909527.

There is a possible workaround now, but only for the messages that have more than one part, to select the part and save it as a text file (with one part the only available option is save all attachments, that does not work as there is none).
Comment 2 Thomas McGuire 2009-01-23 14:31:33 UTC
> This is regression against KDE3. I never had any issues with saving inline patches in KDE3

How did it work in KMail from KDE3? I just tested it with version 1.9.9 and used "save as", and it does the same, it saves the message as it was received, which means in quoted-printable encoding in this case.

There is also bug 83643, which is related.
Comment 3 Andrey Borzenkov 2009-01-23 16:16:25 UTC
(In reply to comment #2)
 
> How did it work in KMail from KDE3? 

I really do not know. I can only say that I do not remember that I ever had such a problem in KDE3; and I mostly get patches from the same people. Of course, it is possible they suddenly started to use different mailer ...

> There is also bug 83643, which is related. 
> 

Well, saving body only is of course nice; but I do not care as far as patch is concerned. It was always saved in full and it does not disturb patch ...
Comment 4 Laurent Montel 2015-04-12 10:15:39 UTC
Thank you for taking the time to file a bug report.

KMail2 was released in 2011, and the entire code base went through significant changes. We are currently in the process of porting to Qt5 and KF5. It is unlikely that these bugs are still valid in KMail2.

We welcome you to try out KMail 2 with the KDE 4.14 release and give your feedback.