Created attachment 140132 [details] Sample file in which I discovered the bug While writing some text in the Text Body paragraph of a document, and copying the text "95759" from the text in the comment, I discovered that Undo does not Undo the font change, just the text paste. Steps: 1. Type some text in the document. 2. Add a comment. 3. Copy a word from the comment. 4. Paste it alongside some text in the body paragraph. 5. The pasted text is a tiny font size (smaller even than in the comment: comment font size is 10, pasted text was 7.5!). 6. Undo 7. Paste the text Unformatted Results: The text is still the wrong size: because the Undo did not revert the font size change too. Expected result: The unformatted paste should provide the text in the same size that was being used before the Paste that was undone.
I can't reproduce it in Version: 6.1.0.0.alpha0+ Build ID: ddbb78caa78085673b07dbea6f53288ec6237764 CPU threads: 4; OS: Linux 4.13; UI render: default; VCL: gtk3; Locale: ca-ES (ca_ES.UTF-8); Calc: group nor in Versió: 6.0.2.1 ID de la construcció: 1:6.0.2~rc1-0ubuntu0.16.04.1~lo1 Fils de CPU: 4; SO: Linux 4.13; Renderitzador de la IU: per defecte; VCL: gtk3; Configuració local: ca-ES (ca_ES.UTF-8); Calc: group Could you please paste the info from Help - about LibreOffice ? I have set the bug's status to 'NEEDINFO'. Please change it back to 'UNCONFIRMED' once the information has been provided
Sure, here it is: Version: 6.0.1.1 Build ID: 60bfb1526849283ce2491346ed2aa51c465abfe6 CPU threads: 4; OS: Linux 4.4; UI render: default; VCL: gtk2; Locale: en-GB (en_AU.UTF-8); Calc: group
I can't reproduce it in Version: 6.1.0.0.alpha0+ Build ID: fa2dd2ba03f8be1f148dca8f6164daaf7bbf7d96 CPU threads: 4; OS: Linux 4.13; UI render: default; VCL: gtk2; Locale: ca-ES (ca_ES.UTF-8); Calc: group Do you use the Edit menu to paste/paste unformatted ?
No, I used Ctrl-Shift-V and then selected "Paste Unformatted"
(In reply to Luke Kendall from comment #4) > No, I used Ctrl-Shift-V and then selected "Paste Unformatted" Same here, and the behaviour is correct. What distro are you using?
Ubuntu 16.04, Gnome3 desktop, Cinnamon? It's perfectly reproducible for me, except that today when I try instead of being a strange point size (7.5) it's the same point size as the comment. I also noticed that even two Ctrl-Zs to do two undos in succession don't fix the point size (i.e. set it back to the default point size for the paragraph): it just undoes the last typing as well, but still leaves the insertion point set to the point size of the comment text. I can either manually set the point size to stop it persisting after the comment text paste, or do a Ctrl-M to cancel the special formatting the Paste introduced.
*** This bug has been marked as a duplicate of bug 36958 ***