Bug 149394

Summary: FILEOPEN DOCX Tab after numbering missing with deleted numbering
Product: LibreOffice Reporter: Gabor Kelemen (allotropia) <kelemeng>
Component: WriterAssignee: Not Assigned <libreoffice-bugs>
Status: VERIFIED FIXED    
Severity: normal CC: dgp-mail, nemeth, vasily.melenchuk
Priority: medium Keywords: bibisected, bisected, regression
Version: 7.0.0.3 release   
Hardware: All   
OS: All   
See Also: https://bugs.documentfoundation.org/show_bug.cgi?id=148360
Whiteboard: target:7.5.0
Crash report or crash signature: Regression By: Vasily Melenchuk
Bug Depends on:    
Bug Blocks: 108770, 160789    
Attachments: attachment 86027 saved as docx
The example file in Word 2016 and Writer master
The example file in current nightly

Description Gabor Kelemen (allotropia) 2022-05-31 09:08:26 UTC
Created attachment 180488 [details]
attachment 86027 [details] saved as docx

This is a followup to bug 148360
When original .doc attachment is saved as docx, that is also broken in Writer.

1. Open attached file, which is attachment 86027 [details] saved as DOCX by Word 2016 in compat mode 15
2, Notice the first two paragraphs begin more to the left of the page than in Word, because they are numbered and its tab character is not imported.

Version: 7.4.0.0.alpha1+ (x64) / LibreOffice Community
Build ID: dfd5081ff3973d5d0f216b06dda6360fa490cc9c
CPU threads: 14; OS: Windows 10.0 Build 19044; UI render: default; VCL: win
Locale: en-US (hu_HU); UI: en-US
Calc: threaded

This was good in 6.4.0.

Started to be incorrect in 7.0 with:

https://git.libreoffice.org/core/+/7ed62ccc2bc436001bbf033db22ec2f19c70fdf2

author	László Németh <nemeth@numbertext.org>	Fri Jun 12 11:11:16 2020 +0200
committer	Xisco Fauli <xiscofauli@libreoffice.org>	Tue Jun 16 13:41:23 2020 +0200

tdf#76817: DOCX import: fix chapter numbering

This lost the tab for both paragraphs, but:

https://git.libreoffice.org/core/+/c850d7288650c37a3c569fd4891ecdf725b3a279

uthor	László Németh <nemeth@numbertext.org>	Tue Jun 16 18:52:56 2020 +0200
committer	Xisco Fauli <xiscofauli@libreoffice.org>	Wed Jun 24 12:44:26 2020 +0200

tdf#76817 DOCX: fix round-tripped outline numbering

has restored it for the second paragraph, so only the first paragraph was missing its tab in 7.0.

Then in 7.2:

https://git.libreoffice.org/core/+/9987b518fca1476bd0ce8c86bcf6ac7c81f7b580

author	Vasily Melenchuk <vasily.melenchuk@cib.de>	Mon Jun 14 14:27:56 2021 +0300
committer	Thorsten Behrens <thorsten.behrens@allotropia.de>	Tue Jun 29 19:02:20 2021 +0200

new ODF numbered list parameter loext:num-list-format

Broke it more, so now the second paragraphs starting tab is missing again.
Comment 1 Gabor Kelemen (allotropia) 2022-05-31 09:15:37 UTC
Created attachment 180489 [details]
The example file in Word 2016 and Writer master
Comment 2 Dieter 2022-06-13 17:32:39 UTC
I confirm it with

Version: 7.3.4.2 (x64) / LibreOffice Community
Build ID: 728fec16bd5f605073805c3c9e7c4212a0120dc5
CPU threads: 4; OS: Windows 10.0 Build 19044; UI render: Skia/Raster; VCL: win
Locale: de-DE (de_DE); UI: en-GB
Calc: CL

in comparison with Word 2016
Comment 3 Gabor Kelemen (allotropia) 2022-08-03 17:30:49 UTC
Created attachment 181569 [details]
The example file in current nightly

This seems to be fixed in

Version: 7.5.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: 86b2bfd34a4f07c54f03c8c8dfe48e0810834628
CPU threads: 14; OS: Windows 10.0 Build 19044; UI render: Skia/Raster; VCL: win
Locale: en-US (hu_HU); UI: en-US
Calc: threaded
Comment 4 Gabor Kelemen (allotropia) 2022-08-03 17:35:24 UTC
By

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

tdf#148360: sw: do not ignore list label followed by

It will be available in 7.5.0.
Comment 5 Dieter 2022-08-15 07:05:44 UTC
VERIFIED with

Version: 7.5.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: df3b7599f5ad92337a495224f53a1299cc82e97e
CPU threads: 4; OS: Windows 10.0 Build 19044; UI render: Skia/Raster; VCL: win
Locale: de-DE (de_DE); UI: en-GB
Calc: CL