Bug 331959

Summary: Multiline paste into subject-field completely strips linebreaks
Product: [Applications] kmail2 Reporter: qqqqqqqqq9
Component: composerAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: montel
Priority: NOR    
Version: 4.13 Pre   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In: 4.13
Sentry Crash Report:

Description qqqqqqqqq9 2014-03-10 12:48:01 UTC
When I paste something containing linebreaks into the subject-field the linebreaks are completely stripped. They should be replaced by a space instead.

Reproducible: Always

Steps to Reproduce:
1. paste aaa<linebreak>nnn into the subject field.
2.
3.
Actual Results:  
The subject-Field reads: aaannn

Expected Results:  
The subject-Field should read: aaa nnn
Comment 1 Laurent Montel 2014-03-10 13:23:41 UTC
Indeed I confirm it.
I will fix soon
Comment 2 Laurent Montel 2014-03-10 19:37:50 UTC
Git commit 83b6dcb4ceb5f3966f35f7a8b88f88cbeb2af8c0 by Montel Laurent.
Committed on 10/03/2014 at 19:37.
Pushed by mlaurent into branch 'KDE/4.13'.

Fix Bug 331959 - Multiline paste into subject-field completely strips linebreaks

FIXED-IN: 4.13

M  +1    -1    libkdepim/widgets/spellchecklineedit.cpp

http://commits.kde.org/kdepim/83b6dcb4ceb5f3966f35f7a8b88f88cbeb2af8c0