https://bugs.documentfoundation.org/show_bug.cgi?id=145568

            Bug ID: 145568
           Summary: "Undo" fails to restore text format in some conditions
           Product: LibreOffice
           Version: 7.2.2.2 release
          Hardware: x86-64 (AMD64)
                OS: Windows (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: [email protected]
          Reporter: [email protected]

Description:
When I undo my pasting some formatted text at the end of a paragraph,
the previously pasted format will remain there.
Note that it doesn't happen in the middle of a paragraph or an empty paragraph.

Steps to Reproduce:
1.File -> New -> Text Document
2.Enter four paragraphs: "FIRST BOLD 20pt", "second", "", and "fourth"
3.Select the first paragraph
4.Format it (Ctrl+B and Ctrl+])
5.Copy it to your clipboard (Ctrl+C)
6.Place the cursor at the end of the second paragraph, just after the "d"
7.Paste the clipboard (Ctrl+V)
8.Place the cursor at the third (empty) paragraph
9.Paste the clipboard (Ctrl+V)
10.Place the cursor in the middle of the fourth paragraph (e.g. between "r" and
"t")
11.Paste the clipboard (Ctrl+V)
12.Undo the fourth paragraph (Ctrl+Z)
13.Undo the third paragraph (Ctrl+Z)
14.Undo the second paragraph (Ctrl+Z)



Actual Results:
12.Format information at the cursor is default style
13.Format information at the cursor is default style
14.Format information at the cursor is BOLD and larger font

The end of the second line contains some format properties which should not be
there.

Expected Results:
12.Format information at the cursor is default style
13.Format information at the cursor is default style
14.Format information at the cursor is default style


Reproducible: Always


User Profile Reset: No



Additional Info:
Version: 7.2.2.2 (x64) / LibreOffice Community
Build ID: 02b2acce88a210515b4a5bb2e46cbfb63fe97d56
CPU threads: 8; OS: Windows 10.0 Build 19043; UI render: Skia/Raster; VCL: win
Locale: ja-JP (ja_JP); UI: en-US
Calc: CL

Version: 7.2.3.0.0+ (x64) / LibreOffice Community
Build ID: 28dcd1f17a73929c26e490cec929706d3a06b042
CPU threads: 8; OS: Windows 10.0 Build 19043; UI render: Skia/Vulkan; VCL: win
Locale: ja-JP (ja_JP); UI: ja-JP
Calc: CL

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to