Bug 137048 - Undo/redo followed by undo/redo causes different results with bulleted list (comment 1)
Summary: Undo/redo followed by undo/redo causes different results with bulleted list (...
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:
Depends on:
Blocks: Bullet-Number-Outline-Lists Undo-Redo
  Show dependency treegraph
 
Reported: 2020-09-26 13:12 UTC by Telesto
Modified: 2023-06-26 15:14 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Example file (21.31 KB, application/vnd.oasis.opendocument.text)
2020-09-26 13:12 UTC, Telesto
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Telesto 2020-09-26 13:12:38 UTC
Description:
Undo/redo followed by undo/redo causes different results with bulleted list

Steps to Reproduce:
1. Open the attached file
2. Place cursor on page 2; He heard steps behind hime
3. Menu -> Styles -> Bulleted list
4. Menu -> Styles -> Numbered list
5. CTRL+Z
6. CTRL+Z
7. CTRL+Y
8. CTRL+Y
9. CTRL+Z
10. CTRL+Z
11. CTRL+Y
12. CTRL+Y

Actual Results:
Bulled is listed replaced by numbered list while following the steps

Expected Results:
Not so


Reproducible: Always


User Profile Reset: No



Additional Info:
Version: 7.1.0.0.alpha0+ (x64)
Build ID: 52a49f9e480ca03e231cfda82640a928393131c9
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: Skia/Raster; VCL: win
Locale: nl-NL (nl_NL); UI: en-US
Calc: CL
Comment 1 Telesto 2020-09-26 13:12:56 UTC
Created attachment 165867 [details]
Example file
Comment 2 Telesto 2020-09-26 13:14:43 UTC
1. Open the attached file
2. Place cursor on page 2; He heard steps behind hime
3. Menu -> Styles -> Bulleted list
4. Menu -> Styles -> Numbered list
5. CTRL+Z
6. CTRL+Z
7. CTRL+Z (another one in the list... should be there)
7. CTRL+Y
8. CTRL+Y
9. CTRL+Y
Comment 3 Telesto 2020-09-26 13:15:44 UTC
Also in
Versie: 4.4.7.2 
Build ID: f3153a8b245191196a4b6b9abd1d0da16eead600
Locale: nl_NL
Comment 4 Telesto 2020-09-26 13:17:07 UTC
Also in
Versie 4.0.0.3 (Bouw-id: 7545bee9c2a0782548772a21bc84a9dcc583b89)
Comment 5 Telesto 2020-09-26 13:20:16 UTC
Also in
LibreOffice 3.3.0 
OOO330m19 (Build:6)
tag libreoffice-3.3.0.4
Comment 6 Telesto 2020-09-26 13:24:57 UTC
@Michael,
As you removed some superfluous undo steps in the past.. in this case there is a undo step which doesn't belong and is breaking proper redo of a list

UNCONFIRMED and back as old as they OoO days..
Comment 7 Dieter 2021-04-16 16:37:05 UTC
I confirm it

Test A
1. Open the attached file from comment 1
2. Place cursor on page 2; He heard steps behind hime
3. Menu -> Styles -> Bulleted list
4. Menu -> Styles -> Numbered list
5. CTRL+Z
6. CTRL+Z
8. CTRL+Y
9. CTRL+Y

Result: Works as expected

Test B
1. Open the attached file from comment
2. Place cursor on page 2;
3. Add a word to the first paragph
4. Cursor at beginning of second paragrph (He heard steps behind him)
3. Menu -> Styles -> Bullet list
4. Menu -> Styles -> Number list
5. CTRL+Z
6. CTRL+Z
7. CTRL+Z (word in first paragraph should disappear, but doesn't)
7. CTRL+Y => Numbered list (Not O.K.)
8. CTRL+Y => different Numbered list (not O. K.)
9. CTRL+Y => Bulleted list

Version: 7.1.2.2 (x64) / LibreOffice Community
Build ID: 8a45595d069ef5570103caea1b71cc9d82b2aae4
CPU threads: 4; OS: Windows 10.0 Build 19042; UI render: Skia/Raster; VCL: win
Locale: de-DE (de_DE); UI: en-GB
Calc: CL
Comment 8 QA Administrators 2023-04-17 03:20:09 UTC Comment hidden (obsolete)
Comment 9 Dieter 2023-04-24 17:06:58 UTC
A bit different but still wrong in

Version: 7.5.3.1 (X86_64) / LibreOffice Community
Build ID: d29ee673721b12c92b3de9b9663473211414f0db
CPU threads: 4; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win
Locale: de-DE (de_DE); UI: en-GB
Calc: CL threaded


Steps:
1. Open the attachment 165867 [details]
2. Place cursor on page 2;
3. Add a word to the first paragph
4. Cursor at beginning of second paragraph (He heard steps behind him)
3. Menu -> Styles -> Bullet list
4. Menu -> Styles -> Numbering 123 list style
5. CTRL+Z
6. CTRL+Z
7. CTRL+Z => Nothing happens (word in first paragraph should disappear, but doesn't)
8. CTRL+Y => Nothing happens (O.K. with step 7)
9. CTRL+Y => Numbered list (O. K.)
10. CTRL+Y => Numbered list (not O.K.; Bullet list expected)
Comment 10 Stéphane Guillou (stragu) 2023-06-26 15:10:11 UTC
(In reply to Telesto from comment #2)
> 1. Open the attached file
> 2. Place cursor on page 2; He heard steps behind him
> 3. Menu -> Styles -> Bulleted list
> 4. Menu -> Styles -> Numbered list
> 5. CTRL+Z
> 6. CTRL+Z
> 7. CTRL+Z (another one in the list... should be there)
> 7. CTRL+Y
> 8. CTRL+Y
> 9. CTRL+Y

Reproduced as above in recent master build:

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

The oldest action in the history (undone at step 7) is "Create numbering style: Bullet •". Such an action is not recorded when e.g. the list style "Numbering 123" is applied.