Bug 149380 - For first item in numbered list of a document "Restart Numbering" only works, if start number checkbox in paragraph dialog is also selected
Summary: For first item in numbered list of a document "Restart Numbering" only works,...
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:
: 149745 (view as bug list)
Depends on:
Blocks: Bullet-Number-Outline-Lists Paragraph-Dialog
  Show dependency treegraph
 
Reported: 2022-05-30 15:37 UTC by Olivier Hallot
Modified: 2024-02-19 06:42 UTC (History)
5 users (show)

See Also:
Crash report or crash signature:


Attachments
Chapter file showing trouble with restart numbering in context menu. (2.68 MB, application/vnd.oasis.opendocument.text)
2022-05-30 15:37 UTC, Olivier Hallot
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Olivier Hallot 2022-05-30 15:37:11 UTC
Created attachment 180472 [details]
Chapter file showing trouble with restart numbering in context menu.

The "Restart numbering" of a numbered list does not restart if restart is set by context menu.

Step to reproduce:
1) open the attached file
2) Go to page 6. The numbered list below start at number 1 (first list in file)
3) place cursor in first paragraph of the numbered list
4) Context menu -> Lists -> Restart numbering (list still display "1", which is OK)
5) Save file, open file again, go to page 6 inspect restart numbering in context menu

Expected result: Restart numbering is set

Actual results: checkbox is unchecked. The setting was not saved.

Workaround:
Open Format -> Paragraph -> Outline and lists. Mark "restart numbering at this paragraph".

Setting is preserved between save/load cycle.

Note: This annoyance affect numbering when the chapter is inserted in a master document.

Version: 7.3.3.2 / LibreOffice Community
Build ID: d1d0ea68f081ee2800a922cac8f79445e4603348
CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: kf5 (cairo+xcb)
Locale: en-US (pt_BR.UTF-8); UI: en-US
Calc: threaded
Comment 1 Olivier Hallot 2022-05-30 15:55:30 UTC
Note2: The restart done through the Paragraph dialog *must* be set with the start number checked. If the start number checkbox is not set, the restart does not stick.
Comment 2 Rafael Lima 2022-05-30 22:03:12 UTC
I can confirm this bug in LO 7.3.3 and LO 7.4.

Setting the first numbered list to "Restart Numbering" is not saved to the file when done using the context menu. This issue only happens with the first numbered list in the document. Changing this option in all subsequent lists works fine.

The workaround described by Olivier that uses the "Paragraph" dialog does work and "Restart Numbering" is saved to the file. This should also be the case using the context menu, so I'm setting this to NEW.

System info:
Version: 7.3.3.2 / LibreOffice Community
Build ID: 30(Build:2)
CPU threads: 12; OS: Linux 5.13; UI render: default; VCL: kf5 (cairo+xcb)
Locale: pt-BR (pt_BR.UTF-8); UI: en-US
Ubuntu package version: 1:7.3.3~rc2-0ubuntu0.21.10.1~lo1
Calc: threaded

Also reproducible in:

Version: 7.4.0.0.alpha1+ / LibreOffice Community
Build ID: b2467d6c7af988f8ed4e090ebf9472be6c84fb06
CPU threads: 12; OS: Linux 5.13; UI render: default; VCL: kf5 (cairo+xcb)
Locale: pt-BR (pt_BR.UTF-8); UI: en-US
Calc: CL
Comment 3 Dieter 2022-07-19 11:24:45 UTC
*** Bug 149745 has been marked as a duplicate of this bug. ***
Comment 4 Dieter 2022-07-19 11:35:51 UTC
Coming from bug 149745. As Olivier mentioned in comment 1, problem is not related to context menu.

Steps to reproduce (from bug 149745)
1. Open attachment 180980 [details]
2. In first paragraph of the list select "Restart Numbering" 8with context menu or in Format -> Paragraph -> Outline & Lists. Save.
3. Paragraph dialog -> Tab "Outline & Lists": "Restart Numbering" is still selected.
4. Reload

Actual result:
Paragraph dialog -> Tab "Outline & Lists": "Restart Numbering" is deselected.

Expected result:
"Restart Numbering" should still be selected (because it works, if you aso select "Start with: 1")

5. In first paragraph of the list select "Restart Numbering" AND "Start with: 1" Save.
6. Paragraph dialog -> Tab "outline & Lists": "Restart Numbering" AND "Start with: 1" are still selected.
7. Reload

Actual and Expected result:
Paragraph dialog -> Tab "outline & Lists": "Restart Numbering" AND "Start with: 1" are still selected.
Comment 5 raal 2022-07-21 14:34:58 UTC
repro Version 4.1.0.0.alpha0+ (Build ID: efca6f15609322f62a35619619a6d5fe5c9bd5a)
Comment 6 Stéphane Guillou (stragu) 2024-02-19 06:42:22 UTC
Reproduced in OOo 3.3 -> inherited.

Still current in recent trunk build:

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