Download it now!
Bug 136194 - FILEOPEN Chapter numbering in a DOTX import is wrong in version 7.0, was OK in 6.4
Summary: FILEOPEN Chapter numbering in a DOTX import is wrong in version 7.0, was OK i...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.0.0.3 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisected, bisected, regression
Depends on:
Blocks: DOCX-Bullet-Number-Outline-Lists
  Show dependency treegraph
 
Reported: 2020-08-27 16:13 UTC by enyc
Modified: 2020-09-05 23:51 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments
FMT Template dotx document template, which triggers the failure. (82.70 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.template)
2020-08-27 16:14 UTC, enyc
Details
FMT Template as exported to PDF with automatic blank pages in LO 7.0.1 (146.43 KB, application/pdf)
2020-08-27 16:15 UTC, enyc
Details
FMT Template as exported to PDF from WinWord-2010, which seems to render correctly. (400.93 KB, application/pdf)
2020-08-27 16:15 UTC, enyc
Details

Note You need to log in before you can comment on or make changes to this bug.
Description enyc 2020-08-27 16:13:24 UTC
Description:
Importing   FMT-3-S-Thesis-Template-v1.0.dotx  in LibreOffice 7.0 series now cuts out the entire content pages (all Chapters and also Bibliography).

This is potentially related to #128260 , or may be a separate, new issue.


Steps to Reproduce:
1. Get  https://ec2.sheer.us/~enyc/noidx/FMT-3-S-Thesis-Template-v1.0.dotx
     (or, the same attachment which will be attached to this bug).

2. Open in Libreoffice 7.x

3. Notice the Chapters listed on page xiii and xiv

4. Notice page xxi continues straight to page 1 with all the chapters and bibliography completely missing!.


Actual Results:

This failure is shown in:
https://ec2.sheer.us/~enyc/noidx/FMT-3-S-Thesis-Template-v1.0_LO-7.0.1.pdf


Expected Results:
Compared to correct output:-
https://ec2.sheer.us/~enyc/noidx/FMT-3-S-Thesis-Template-v1.0_WinWord-2010.pdf


Reproducible: Always


User Profile Reset: Yes


OpenGL enabled: Yes

Additional Info:
This is potentially related to #128260 , or may be a separate, new issue.
Comment 1 enyc 2020-08-27 16:14:24 UTC
Created attachment 164761 [details]
FMT Template dotx document template, which triggers the failure.
Comment 2 enyc 2020-08-27 16:15:17 UTC
Created attachment 164762 [details]
FMT Template as exported to PDF with automatic blank pages in LO 7.0.1
Comment 3 enyc 2020-08-27 16:15:58 UTC
Created attachment 164763 [details]
FMT Template as exported to PDF from WinWord-2010, which seems to render correctly.
Comment 4 enyc 2020-08-27 20:12:04 UTC
Happens on at least 2 different LO 7.0 builds, further confirmed.
Comment 5 Telesto 2020-08-28 07:42:30 UTC
The idea is to wait for conformation before setting to new. Reverting to unconfirmed
Comment 6 enyc 2020-09-01 09:09:56 UTC
To be clear opening  FMT-3-S-Thesis-Template-v1.0.dotx  --

Page 23 of 47  should start with heading  "Chapter 1".

Faulty case is:   Page 23 of 47 starts  "Appendix A"  instead.

Also, to be clear, the ToC (Table of Contents) is 'correct' and updating this index, although making document self-consistent, is simply removing reference to the ''vanished'' contents.
Comment 7 Mike Kaganski 2020-09-01 09:33:39 UTC
(In reply to enyc from comment #6)
> opening  FMT-3-S-Thesis-Template-v1.0.dotx  --
> 
> Page 23 of 47  should start with heading  "Chapter 1".
> 
> Faulty case is:   Page 23 of 47 starts  "Appendix A"  instead.

Repro with Version: 7.0.1.2 (x64)
Build ID: 7cbcfc562f6eb6708b5ff7d7397325de9e764452
CPU threads: 12; OS: Windows 10.0 Build 19041; UI render: Skia/Raster; VCL: win
Locale: ru-RU (ru_RU); UI: en-US
Calc: threaded

I suspect a rebression from a fix to tdf#76817.
Comment 8 enyc 2020-09-01 11:49:45 UTC
Further Correction -- the content isn't actually missing but actually the chapter headings are mispositioned, becoming Appenixes, I believe!.  Bug Title was corrected accordingly.

"Vanished contents" is a misnomer/mistake in the original report above, but nonetheless check and confirmation above is valid.

Thankyou to Mike Kaganski for pointing out mistakes in process and so-on!.
Comment 9 Aron Budea 2020-09-05 23:51:45 UTC
(In reply to Mike Kaganski from comment #7)
> I suspect a rebression from a fix to tdf#76817.

Good guess, it is a regression from that, bibisected to the following commit using repo bibisect-linux-64-7.1. Adding CC: to László Németh.

https://cgit.freedesktop.org/libreoffice/core/commit/?id=2128d59ab91da853652305390d56b3287bcb67b1
author		László Németh <nemeth@numbertext.org>	2020-06-12 11:11:16 +0200
committer	László Németh <nemeth@numbertext.org>	2020-06-12 17:42:00 +0200

tdf#76817: DOCX import: fix chapter numbering