Bug Hunting Session
Bug 123262 - FILEOPEN: DOCX: Footnote separator text is being added to each footnote
Summary: FILEOPEN: DOCX: Footnote separator text is being added to each footnote
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
5.4.7.2 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: filter:docx
Depends on:
Blocks: DOCX-Styles DOCX-Footnote-Endnote
  Show dependency treegraph
 
Reported: 2019-02-08 11:34 UTC by andreas_k
Modified: 2019-11-06 18:48 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments
Different Footnote Style (408.78 KB, application/pdf)
2019-02-08 11:34 UTC, andreas_k
Details
Footnote Style docx (48.95 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2019-02-11 14:36 UTC, andreas_k
Details
tdf123262_textFootnoteSeparators.docx: clear and simple unit test (28.36 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2019-11-06 18:47 UTC, Justin L
Details

Note You need to log in before you can comment on or make changes to this bug.
Description andreas_k 2019-02-08 11:34:55 UTC
Created attachment 149022 [details]
Different Footnote Style

When have an Footnote the syle in MSO 2010 is different than in LibO 6.2.
Comment 1 andreas_k 2019-02-08 11:35:49 UTC
I think only the numbering has to be superscripted cause everything else look good to me.
Comment 2 Xisco Faulí 2019-02-08 16:59:08 UTC
Thank you for reporting the bug. Please attach a sample document, as this makes it easier for us to verify the bug. 
(Please note that the attachment will be public, remove any sensitive information before attaching it. 
See https://wiki.documentfoundation.org/QA/FAQ#How_can_I_eliminate_confidential_data_from_a_sample_document.3F for help on how to do so.)

I have set the bug's status to 'NEEDINFO'. Please change it back to 'UNCONFIRMED' once the requested document is provided.
Comment 3 andreas_k 2019-02-11 14:36:48 UTC
Created attachment 149138 [details]
Footnote Style docx

Attached the docx file that will not propper open.
Comment 4 Dieter Praas 2019-05-01 12:00:38 UTC
Result

Footnote style in MSO 2016: Footnote after a blank paragraph
LO 6.3:  Footnote number in one paragaph and footnote text in a new paragraph

Version: 6.3.0.0.alpha0+ (x64)
Build ID: 421e6fc3cd2e6fe37afbef341e2d0ad7b8edde37
CPU threads: 4; OS: Windows 10.0; UI render: GL; VCL: win; 
TinderBox: Win-x86_64@42, Branch:master, Time: 2019-04-07_01:12:58
Locale: en-US (de_DE); UI-Language: en-US
Calc: threaded

and also in

Version: 5.4.7.2 (x64)
Build-ID: c838ef25c16710f8838b1faec480ebba495259d0
CPU-Threads: 4; BS: Windows 6.19; UI-Render: GL; 
Gebietsschema: de-DE (de_DE); Calc: CL
Comment 5 Justin L 2019-11-06 18:47:01 UTC
Created attachment 155590 [details]
tdf123262_textFootnoteSeparators.docx: clear and simple unit test

A working, but probably lousy implementation can be seen at https://gerrit.libreoffice.org/82172.

The issue here is that MSO allows ANY kind of text to be included in the separator footnote - including multiple paragraphs (in OP's case a blank line).
In this fix I am just throwing that (very unusual) information away. One enhancement would be to add that text prior to the first footnote marker (if that is even possible, which it probably isn't).