Description: After I paste a formatted text in the document, with Undo I undo the paste, and paste the text with Paste Special - Unformatted text, the newly pasted text is formatted, the LO keep the firstly pasted text format in paragraph end character. Steps to Reproduce: 1. Open two new Writer document 2. In the first enter "test" and format it as Bold 3. Copy the text 4. Paste it in the second document 5. Select Edit - Undo 6. Select Edit - Paste Special - Unformatted text - OK Actual Results: The pasted Unformatted text is bold Expected Results: The pasted text will be default style, without bold. Reproducible: Always User Profile Reset: Yes Additional Info: LibreOffice 5.2.1.2, Windows 10 (64bit Ent) User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:49.0) Gecko/20100101 Firefox/49.0
On Windows 10 Pro 64-bit (1607) en-US with Version: 5.2.2.2 (x64) Build ID: 8f96e87c890bf8fa77463cd4b640a2312823f3ad CPU Threads: 8; OS Version: Windows 6.19; UI Render: GL; Locale: en-US (en_US); Calc: group Can not confirm following STR. The paste -> Unformatted text correctly removes the bold formatting in the second document. A second default Paste retains the bold formatting. WFM
CORRECTION: Steps to Reproduce: 1. Open two new Writer document 2. In the first enter "test" and format it as Bold 2. In the second enter "test" 3. Copy the text from first 4. Paste it in the second at the and of the line 5. Select Edit - Undo 6. Select Edit - Paste Special - Unformatted text - OK
Created attachment 127834 [details] steps to reproduce
When you undo, the Bold direct formatting of the first paste remains applied at the end of the paragraph. When you then Paste Special -> Unformatted text you are pasting unformatted text into a spot with bold direct formatting applied. Be sure to remove the direct formatting from undo of the initial paste before pasting unformatted. Or another way, pasting unformatted text into a word or paragraph with direct formatting applied will pickup the direct formatting applied at that spot.
But with undo I expect that the direct formatting undo too. With undo I expect in general, that all changes made before is undo.
Maybe, but that would be an issue with UNDO logic--not the issue here. Pasting unformatted text works as expected.
Issue with an UNDO not clearing format is a corner case occurring at the end of a paragraph. Reported as see also bug 36958