Bug 156042

Summary: Inconsistent undo/redo problems with formatting list numbers
Product: LibreOffice Reporter: William Friedman <will.friedman>
Component: WriterAssignee: Not Assigned <libreoffice-bugs>
Status: NEW ---    
Severity: normal CC: oliver.specht, stephane.guillou
Priority: medium    
Version: Inherited From OOo   
Hardware: All   
OS: All   
See Also: https://bugs.documentfoundation.org/show_bug.cgi?id=62389
Whiteboard:
Crash report or crash signature: Regression By:
Bug Depends on:    
Bug Blocks: 103369, 105948    

Description William Friedman 2023-06-23 18:26:25 UTC
Description:
If one changes the formatting of list numbers using direct formatting, and then does undo, it does not undo the changes.

Steps to Reproduce:
1. Open a new document.
2. Toggle ordered list (F12 or press the GUI button).
3. Press the left arrow or click near the number so that it is surrounded by a gray background box.
4. Bold the text (Ctrl-B or use the GUI button).
5. Undo. The text remains bolded.
6. Unbold the text (Ctrl-B or use the GUI button).
7. Undo. The text is now bolded again.

Actual Results:
The first undo does not undo the attribute change. The second undo does undo the attribute change.

Expected Results:
The first undo should undo the attribute change.


Reproducible: Always


User Profile Reset: No

Additional Info:
Version: 7.5.3.2 (X86_64) / LibreOffice Community
Build ID: 9f56dff12ba03b9acd7730a5a481eea045e468f3
CPU threads: 4; OS: Windows 6.1 Service Pack 1 Build 7601; UI render: Skia/Raster; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: CL threaded
Comment 1 Stéphane Guillou (stragu) 2023-06-26 13:26:20 UTC
Reproduced in:

Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: bbf6fa94a92abc1085addaba20519ee0166bae5e
CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
Calc: threaded

Already in OOo 3.3, so issue is inherited.
Comment 2 Stéphane Guillou (stragu) 2023-12-11 21:37:45 UTC
*** Bug 158638 has been marked as a duplicate of this bug. ***