Bug 138984 - FILEOPEN DOCX Information missing due to footnote and line spacing in LibreOffice
Summary: FILEOPEN DOCX Information missing due to footnote and line spacing in LibreOf...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
4.3.0.4 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisected, bisected, filter:docx
Depends on:
Blocks: Footnote-Endnote
  Show dependency treegraph
 
Reported: 2020-12-16 22:16 UTC by Jorge
Modified: 2024-09-15 18:43 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments
Original document (22.03 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2020-12-16 22:17 UTC, Jorge
Details
Document saved as .doc (35.00 KB, application/msword)
2020-12-16 22:17 UTC, Jorge
Details
Document without the last footnote (22.08 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2020-12-16 22:18 UTC, Jorge
Details
Screenshot with footnote in LO (1.25 MB, image/png)
2020-12-16 22:19 UTC, Jorge
Details
Screenshot with footnote in MO (1.86 MB, image/png)
2020-12-16 22:19 UTC, Jorge
Details
Screenshot without footnote in LO (1.42 MB, image/png)
2020-12-16 22:20 UTC, Jorge
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jorge 2020-12-16 22:16:27 UTC
Description:
A .docx file containing a footnote and line spacing created in MO isn’t rendered correctly when importing to LibreOffice as part of the information is lost. The line spacing is lost, due to this the footnote is sent to the 2nd page, and all the information after this is lost and seems unrecoverable. 

- When deleting the footnote on the third page, the document is rendered correctly.
- When converting the document to a .doc through MO, all the information is rendered correctly.


Actual Results:
Part of the information after the last footnote is deleted

Expected Results:
All the information is showing correctly


Reproducible: Always


User Profile Reset: No



Additional Info:

Version: 7.0.3.1, also tested in versions 7.0.1.2 and 6.4.7.2
Build ID: d7547858d014d4cf69878db179d326fc3483e082
CPU threads: 12; OS: Mac OS X 10.15.7; UI render: default; VCL: osx
Locale: en-US (en_CO.UTF-8); UI: en-US
Calc: threaded
Comment 1 Jorge 2020-12-16 22:17:10 UTC
Created attachment 168238 [details]
Original document
Comment 2 Jorge 2020-12-16 22:17:43 UTC
Created attachment 168239 [details]
Document saved as .doc
Comment 3 Jorge 2020-12-16 22:18:19 UTC
Created attachment 168240 [details]
Document without the last footnote
Comment 4 Jorge 2020-12-16 22:19:03 UTC
Created attachment 168241 [details]
Screenshot with footnote in LO
Comment 5 Jorge 2020-12-16 22:19:38 UTC
Created attachment 168243 [details]
Screenshot with footnote in MO
Comment 6 Jorge 2020-12-16 22:20:04 UTC
Created attachment 168244 [details]
Screenshot without footnote in LO
Comment 7 Telesto 2020-12-17 22:30:03 UTC
Obviously missing content
Version: 7.1.0.0.alpha1+
Build ID: c784b3da15102caf1022e83371863a86766e69cd
CPU threads: 4; OS: Mac OS X 10.12.6; UI render: default; VCL: osx
Locale: nl-NL (nl_NL.UTF-8); UI: en-US
Calc: threaded
Comment 8 QA Administrators 2022-12-18 03:20:50 UTC Comment hidden (obsolete)
Comment 9 Buovjaga 2024-09-15 18:43:41 UTC
In 4.3, the document changed from 4 pages to 3, with footnotes 1-4 on page 2 and 5-7 on page 3. This was due to commit 12cf9f08f51c96783f62e29a04e507cc451a475b
writerfilter: add w14:textOutline attributes to model.xml

In 4.4, footnotes 1-7 started appearing on page 2 with 4d120b6ab181f530d3fedc963b1c6ec777f2608a
DOCX import: fix additional empty paragraphs around footnote text

In the current state there is only one footnote:
Re Murphy’s settlements [1998] 3 All ER 1

This started in 7.6 with 09ae3c01940bbc25ffde51963683b04e3cb4bb6a
tdf#152203 DOCX import: fix mixed footnotes/endnotes

Between 4.4 and 7.6 there was also some change affecting the layout style.

As the current state is from László's commit, let's ask if he has ideas.