Bug 418957 - Automatic line breaks turn into hardcoded ones when saved as draft (plain text emails)
Summary: Automatic line breaks turn into hardcoded ones when saved as draft (plain tex...
Status: REPORTED
Alias: None
Product: kmail2
Classification: Applications
Component: composer (show other bugs)
Version: 5.13.3
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-03-17 12:04 UTC by kde
Modified: 2020-03-28 12:54 UTC (History)
2 users (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 kde 2020-03-17 12:04:36 UTC
SUMMARY


STEPS TO REPRODUCE
1. Create a new message.
2. Enter text that is long enough to span several lines (at least 2) so it is wrapped automatically.
3. Remove a sufficient amount of text from the beginning of the first line. Text from the following lines will be moved to the first line again. This is expected.
4. Again, enter text that is long enough to span several lines (at least 2) so it is wrapped automatically.
5. Save as draft and close message.
6. Reopen message from draft.
7. Remove text from the beginning of the first line.

OBSERVED RESULT
Words from following lines are not moved at all. The text is treated as if actual hard-coded line breaks had been added between the lines which were actually wrapped automatically.

EXPECTED RESULT
Text should behave as before saving as draft, meaning continuous text should be treated as such and not as a sequence of individual lines, separated by explicit line breaks.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 5.67.0
Qt Version: 5.14.1

ADDITIONAL INFORMATION
Comment 1 kde 2020-03-17 12:10:34 UTC
I forgot to mention: I'm talking about plain text emails. I haven't tested richtext input.
Comment 2 Laurent Montel 2020-03-17 12:42:52 UTC
I confirm it.
I will look at it.