Bug 159998

Summary: Signature is inserted with line-breaks and tabs lost
Product: [Applications] kmail Reporter: Sergei Beilin <sbeilin>
Component: composerAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED WORKSFORME    
Severity: normal CC: lemma, martin.fitzpatrick
Priority: NOR Keywords: triaged
Version: 1.9.50   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:

Description Sergei Beilin 2008-03-28 10:12:57 UTC
Version:            (using Devel)
Installed from:    Compiled sources
Compiler:          gcc (GCC) 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2) 
OS:                Linux

The plain-text multiline signatures, inserted from file (having them from KDE 3.x), are inserted as a one-line, with line-breaks and tabs totally lost, like this:

-- Best regards, Sergei A. Beilin http://lab-m.ru/ 


while KMail from KDE 3.x (and other agents) inserts the same file this way:

-- 
	Best regards, 
	Sergei A. Beilin 
	http://lab-m.ru/
Comment 1 Sergei Beilin 2008-03-28 10:28:21 UTC
...this way:
------------------8<------------------
-- 
	Best regards, 
	Sergei A. Beilin 
	http://lab-m.ru/ 
------------------8<------------------
Comment 2 Sergei Beilin 2008-03-28 10:30:10 UTC
Hmmm, it gets cut out here! Last try:

(dashdash)
(tab)Best regards, 
(tab)Sergei A. Beilin 
(tab)http://lab-m.ru/ 

Comment 3 Thomas McGuire 2008-03-30 23:40:35 UTC
I can not reproduce this, works fine for me in plain text mode and in HTML mode. The tabs show up as tabs, and newlines are inserted properly.
Have you got the most recent version?
Comment 4 Martin Fitzpatrick 2009-04-04 03:10:43 UTC
Cannot reproduce on 4.2.2 (Kubuntu) using external file or pasting the text directly into the signature box.

Sergei can you still reproduce the problem on the latest builds? Thanks.
Comment 5 Michael Leupold 2009-04-04 12:12:10 UTC
Can't reproduce either on trunk r948809.