Bug 153104 - List numbering restarts at 1 in Word after a specific DOCX roundtrip
Summary: List numbering restarts at 1 in Word after a specific DOCX roundtrip
Status: VERIFIED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
6.1.0.3 release
Hardware: All All
: medium normal
Assignee: Mike Kaganski
URL:
Whiteboard: target:7.6.0 target:7.5.1
Keywords: filter:docx
Depends on:
Blocks: DOCX-Bullet-Number-Outline-Lists
  Show dependency treegraph
 
Reported: 2023-01-19 09:21 UTC by Mike Kaganski
Modified: 2023-05-19 04:48 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
A list that restarts at 1 in Word after roundtrip (16.12 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2023-01-19 09:21 UTC, Mike Kaganski
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Kaganski 2023-01-19 09:21:25 UTC
Created attachment 184773 [details]
A list that restarts at 1 in Word after roundtrip

Open the attachment in Writer; save (as DOCX); open the result in MS Word

The list (that previously started with "1.1", "1.2", "2", ...) now has "1.1", "1.2", "1", ... - i.e., the "2" changed to "1".
Comment 1 Stéphane Guillou (stragu) 2023-01-19 09:55:29 UTC
Reproduced with:

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

Already the case in:

Version: 6.1.0.3
Build ID: efb621ed25068d70781dc026f7e9c5187a4decd1
CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk2; 
Locale: en-AU (en_AU.UTF-8); Calc: group threaded
Comment 2 Commit Notification 2023-01-19 14:37:05 UTC
Mike Kaganski committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/a93cb8acdb1b5986c9fffffdb11f4d33c92925bd

tdf#153104: fix the "dummy" levels when overriding lower numbering levels

It will be available in 7.6.0.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 3 Commit Notification 2023-01-24 09:42:42 UTC
Mike Kaganski committed a patch related to this issue.
It has been pushed to "libreoffice-7-5":

https://git.libreoffice.org/core/commit/835f15e299c11faa1b7ea8707c087d922490b83d

tdf#153104: fix the "dummy" levels when overriding lower numbering levels

It will be available in 7.5.1.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 4 Stéphane Guillou (stragu) 2023-01-24 14:07:08 UTC
Verified fix in:

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

Opening saved DOCX in MS Office has top-level numbering as "2" and "3".

Thanks Mike!