Bug 156042 - Inconsistent undo/redo problems with formatting list numbers
Summary: Inconsistent undo/redo problems with formatting list numbers
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
: 158638 (view as bug list)
Depends on:
Blocks: Bullet-Number-Outline-Lists Undo-Redo
  Show dependency treegraph
 
Reported: 2023-06-23 18:26 UTC by William Friedman
Modified: 2023-12-11 21:37 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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. ***