<html>
<head>
<base href="https://bugs.documentfoundation.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_UNCONFIRMED "
title="UNCONFIRMED - Pasting multiple lines at start of line corrupts undo history (Reverses to last line pasted)"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=113708">113708</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Pasting multiple lines at start of line corrupts undo history (Reverses to last line pasted)
</td>
</tr>
<tr>
<th>Product</th>
<td>LibreOffice
</td>
</tr>
<tr>
<th>Version</th>
<td>5.4.2.2 release
</td>
</tr>
<tr>
<th>Hardware</th>
<td>x86-64 (AMD64)
</td>
</tr>
<tr>
<th>OS</th>
<td>Windows (All)
</td>
</tr>
<tr>
<th>Status</th>
<td>UNCONFIRMED
</td>
</tr>
<tr>
<th>Severity</th>
<td>minor
</td>
</tr>
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Component</th>
<td>Writer
</td>
</tr>
<tr>
<th>Assignee</th>
<td>libreoffice-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>kierangrant@linux.com
</td>
</tr></table>
<p>
<div>
<pre>Description:
(Only appears to affect Writer)
When pasting multiple lines of text at the start of a line containing text, the
old line is appended to the first pasted line, and the other lines follow
after. If I try to undo, it leaves the last pasted line. (Undo history is
corrupted).
I can redo to restore the combined lines and manually remove pasted text.
Text must be either pasted as "Unformatted Text" or copied from another
program.
Steps to Reproduce:
1. In a new document type "Some line here" (without quotes)
2. Copy from another text editor (or Libre Document) the following lines:
line 1
line 2
line 3
3. Past these lines to start of the line in step 1 (if copied from Libre, past
as "Unformatted Text")
4. Undo
Actual Results:
line 3
Expected Results:
Some line here
Reproducible: Always
User Profile Reset: Yes
Additional Info:
Version: 5.4.2.2 (x64)
Build ID: 22b09f6418e8c2d508a9eaf86b2399209b0990f4
CPU threads: 4; OS: Windows 6.19; UI render: default;
Locale: en-AU (en_AU); Calc: group
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:56.0) Gecko/20100101
Firefox/56.0</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>