Bug 141673 - FILESAVE: DOCX->DOC: text in tables in footnotes is lost
Summary: FILESAVE: DOCX->DOC: text in tables in footnotes is lost
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.2.0.0.alpha0+
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisected, bisected, regression
Depends on:
Blocks: DOCX-Footnote-Endnote
  Show dependency treegraph
 
Reported: 2021-04-13 09:17 UTC by Xisco Faulí
Modified: 2022-09-09 01:03 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:
Regression By:


Attachments
sample file (14.42 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2021-04-13 09:17 UTC, Xisco Faulí
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Xisco Faulí 2021-04-13 09:17:53 UTC
Created attachment 171154 [details]
sample file

Steps to reproduce:
1. Open attached document
2. Save it as DOC
3. Open the generated document

-> The table in the footnotes and its text is gone. In previous versions, the table was gone but the text was still there. Only reproducible when exporting to DOC

Reproduced in

Version: 7.2.0.0.alpha0+ / LibreOffice Community
Build ID: 4eac7a11e5d39ca6c783f65f1ca2df009b9a37e4
CPU threads: 4; OS: Linux 5.7; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded

[Bug found by office-interoperability-tools]
Comment 1 Xisco Faulí 2021-04-13 09:19:14 UTC
Regression introduced by:

https://cgit.freedesktop.org/libreoffice/core/commit/?id=e11c51eefe8c3210cef2b5850f401ba67a401d01

author	László Németh <nemeth@numbertext.org>	2021-03-26 16:28:03 +0100
committer	László Németh <nemeth@numbertext.org>	2021-03-28 14:49:08 +0200
commit e11c51eefe8c3210cef2b5850f401ba67a401d01 (patch)
tree da3c189d933082328da69654e0e8fd3ae57e9d7b
parent 27377e3db2792d1bf6eb733492462701defdeffc (diff)
tdf#95806 tdf#125877 tdf#141172 DOCX: fix tables in footnotes

Bisected with: bibisect-linux64-7.2

Adding Cc: to László Németh
Comment 2 Roman Kuznetsov 2021-04-13 13:25:35 UTC Comment hidden (obsolete)
Comment 3 Xisco Faulí 2021-04-13 13:26:40 UTC
(In reply to Roman Kuznetsov from comment #2)
> File in attach is a DOCX, why?

what's wrong with the file being DOCX ?
Comment 4 NISZ LibreOffice Team 2021-04-13 14:20:10 UTC
(In reply to Xisco Faulí from comment #0)
> -> The table in the footnotes and its text is gone. In previous versions,
> the table was gone but the text was still there. Only reproducible when
> exporting to DOC
> 

In previous versions the doc export looked good in Word: only the doc import made the table disappear in Writer - we have bug 95804 about that.

Now we convert the footnote table to a frame+table on import, and back to normal table on docx export as Laszlo explained to me.

For doc and rtf export this "conversion back to normal table" was not implemented.