Bug 124222

Summary: Undoing paste leaves style of pasted text
Product: LibreOffice Reporter: david.cortes.rivera
Component: WriterAssignee: Not Assigned <libreoffice-bugs>
Status: RESOLVED DUPLICATE    
Severity: normal CC: ilmari.lauhakangas, xiscofauli
Priority: medium    
Version: Inherited From OOo   
Hardware: All   
OS: All   
Whiteboard:
Crash report or crash signature: Regression By:

Description david.cortes.rivera 2019-03-20 14:55:52 UTC
Steps to reproduce:
* Copy some text with colors or with a colored background (e.g. from a webpage or IDE).
* Open Writer.
* Write something with the default style in there.
* Leave a space after the last word written in there.
* Paste the colored text right after that space.
* Undo the paste (Ctrl + Z).
* Write something again in there

Expected behavior: should write with the style that was there before pastying the colored text, as if it were never pasted.

Actual behavior: text written next after that keeps the style (colors and size) of the pasted text that was undone.

Happens with 6.1 and 6.2, in windows and linux.
Comment 1 Durgapriyanka 2019-03-21 14:51:45 UTC
Thank you for reporting the bug. I can confirm the bug is present in

Version: 6.3.0.0.alpha0+
Build ID: b6b28931435e44aca92b8c0e1659f701e3ed1a87
CPU threads: 2; OS: Windows 6.1; UI render: default; VCL: win; 
TinderBox: Win-x86@42, Branch:master, Time: 2019-01-30_06:57:04
Locale: en-US (en_US); UI-Language: en-US
Calc: threaded
Comment 2 Xisco FaulĂ­ 2019-03-22 11:08:49 UTC
Also reproduced in

LibreOffice 3.3.0 
OOO330m19 (Build:6)
tag libreoffice-3.3.0.4
Comment 3 Buovjaga 2019-04-08 20:11:32 UTC

*** This bug has been marked as a duplicate of bug 36958 ***