Bug 146897 - Unusable render of ODT with table when "Repeat heading" not possible
Summary: Unusable render of ODT with table when "Repeat heading" not possible
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Writer-Tables
  Show dependency treegraph
 
Reported: 2022-01-21 17:28 UTC by Charlie
Modified: 2023-03-26 21:33 UTC (History)
5 users (show)

See Also:
Crash report or crash signature:


Attachments
File of subject in the bug report (265.73 KB, application/vnd.oasis.opendocument.text)
2022-01-21 17:30 UTC, Charlie
Details
Rendered by Libreoffice (70.41 KB, application/pdf)
2022-01-21 22:09 UTC, Charlie
Details
Rendered by Onlyoffice (1.25 MB, application/pdf)
2022-01-21 22:10 UTC, Charlie
Details
File compared in MSO, OO, FO, LO (342.70 KB, image/png)
2022-01-25 10:03 UTC, Timur
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Charlie 2022-01-21 17:28:57 UTC
Description:
Opening the following file results in an incorrect rendering.

Other apps like Onlyoffice renders ok.

https://www.gub.uy/unidad-reguladora-servicios-comunicaciones/sites/unidad-reguladora-servicios-comunicaciones/files/2021-11/Listado%20CX%2010NOV.odt


Steps to Reproduce:
1. Download the file
2. Open with writer
3. Observe result

Actual Results:
Bad rendering resulting in data not accesible.

Expected Results:
Correct render of the document.


Reproducible: Always


User Profile Reset: No



Additional Info:
Version: 7.2.4.1 / LibreOffice Community
Build ID: 27d75539669ac387bb498e35313b970b7fe9c4f9
CPU threads: 8; OS: Mac OS X 12.1; UI render: default; VCL: osx
Locale: en-US (en_UY.UTF-8); UI: en-US
Calc: threaded
Comment 1 Charlie 2022-01-21 17:30:33 UTC
Created attachment 177689 [details]
File of subject in the bug report

This is the document of concern in the bug report.
Comment 2 m_a_riosv 2022-01-21 21:20:32 UTC
Please detail what is the bad render, and what data it's not accessible.

Have you tested with a clean profile, Menu/Help/Restart in Safe Mode
Comment 3 Charlie 2022-01-21 22:09:23 UTC
Created attachment 177694 [details]
Rendered by Libreoffice

This is a pdf exported by Libreoffice and shows how the file is (incorrectly) rendered by Libreoffice.
Comment 4 Charlie 2022-01-21 22:10:52 UTC
Created attachment 177695 [details]
Rendered by Onlyoffice

This pdf is generated by Onlyoffice and shows how the rendering should look.
Comment 5 Charlie 2022-01-21 22:15:39 UTC
(In reply to m.a.riosv from comment #2)
> Please detail what is the bad render, and what data it's not accessible.
> 
> Have you tested with a clean profile, Menu/Help/Restart in Safe Mode

Thank you for the reply.
I've attached two pdfs, one generated by Libreoffice that shows how Libreoffice renders the file (filename: Listado CX 10NOV - Libreoffice.pdf) and the second a pdf generated by Onlyoffice that shows how Onlyoffice renders the file which is the proper way as intended by the creator (filename: Listado CX 10NOV - Onlyoffice.pdf).

I have not tested it in Safe Mode but the same happens in another mac os (intel based) computer and in a Linux machine Libreoffice crashes.

Hope it helps. Charlie
Comment 6 Regina Henschel 2022-01-22 01:36:45 UTC
The problem is the setting "Repeat heading   The first 100 rows" in tab "Text Flow" of the table properties. Set it to "The first 1 row" or disable it and all is OK. Repeating 100 rows on page contradicts with 41, the maximum number of rows possible on that page.

Actually OnlyOffice does not render repeated rows. It might in principle not be able to do so, or it has this fallback for the faulty document.

I could imagine an enhancement for LibreOffice to ignore this setting, if repeating is not possible with the current page size. Or as more informative solution, tell the user, that rendering is not possible and suggest to ignore the setting.
Comment 7 Timur 2022-01-25 10:03:28 UTC
Created attachment 177764 [details]
File compared in MSO, OO, FO, LO

So, ODT has wrong setting of Repeat Heading in table..but all other programs open it correctly with 32 pages: Microsoft Office, OnlyOffice, FreeOffice.
Comment 8 Stéphane Guillou (stragu) 2023-03-26 21:33:10 UTC
Charlie, in case you know: in which program was the ODT file created?