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
Tried to repdrocue the bug ... 3a) Paste as unformatted text Result: line 1Some line here line 2 line 3 line 1 line 2 line 3 4. Undo Result: line 3 line 1 line 2 line 3 => I confirm your bug 3b) Paste Result: line 1 line 2 line 3Some line here line 1 line 2 line 3 => I also think that, paste as unformatted text produces a wrong result.
I agree about paste being incorrect, I thought that at the time when I originally pasted it, I think that is why I tried undoing in the first place... then I get interested by the result of undoing... Logically the original line should be on the end of the last pasted line.
This should be a duplicate of Bug 111349. Feel free to set back to new if I am wrong. *** This bug has been marked as a duplicate of bug 111349 ***
*** This bug has been marked as a duplicate of bug 115088 ***