Bug 92865 - Row Height "use-optimal-row-height" differences in OO and LIBO: rows collapsed in XLS
Summary: Row Height "use-optimal-row-height" differences in OO and LIBO: rows collapse...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
3.3.0 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: filter:xls, notBibisectable
Depends on:
Blocks: Calc-Cells XLS
  Show dependency treegraph
 
Reported: 2015-07-22 06:30 UTC by Sugam
Modified: 2023-11-17 10:20 UTC (History)
5 users (show)

See Also:
Crash report or crash signature:


Attachments
XLS Files row Height difference (31.00 KB, application/x-ole-storage)
2015-07-22 06:30 UTC, Sugam
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sugam 2015-07-22 06:30:26 UTC
Created attachment 117374 [details]
XLS Files row Height difference

Attached XLS file shows almost collapsed rows in all LIBO versions, as the row height set to those rows are very small. But all the rows are visible in Excel and OpenOffice. I digged in further and saved the xls file as ods, both through LibreOffice and OpenOffice and analyzed the difference in the xml.

LIBREOFFICE Behaviour:- 
The row height in 'ro2' is very small and also use-optimal-row-height is set as false. Hence LibreOffice UI displays the rows with the same small height(which almost looks like collapsed rows.).
<style:style style:name="ro1" style:family="table-row">
<style:table-row-properties style:row-height="14.66pt" fo:break-before="auto" style:use-optimal-row-height="false"/>
</style:style>
<style:style style:name="ro2" style:family="table-row">
<style:table-row-properties style:row-height="0.74pt" fo:break-beforeauto="" style:use-optimal-row-height="false"/>
</style:style>
<style:style style:name="ro3" style:family="table-row">
<style:table-row-properties style:row-height="12.81pt" fo:break-beforeauto="" style:use-optimal-row-height="false"/>
</style:style>

OpenOffice Behaviour:- 

Though the row height of 'ro2' is very small in this case also, use-optimal-row-height is set as true. Hence, when the file is opened in any UI the row heights get recalculated according to the content and all the rows are visible just like the original xls file.

<style:style style:name="ro1" style:family="table-row">
<style:table-row-properties style:row-height="0.1665in" fo:break-beforeauto="" style:use-optimal-row-height="true"/>
</style:style>
<style:style style:name="ro2" style:family="table-row">
<style:table-row-properties style:row-height="0.0102in" fo:break-beforeauto="" style:use-optimal-row-height="true"/>
</style:style>
<style:style style:name="ro3" style:family="table-row">
<style:table-row-properties style:row-height="0.178in" fo:break-beforeauto="" style:use-optimal-row-height="true"/>
</style:style>

File attached, was created in EXCEL.
Comment 1 Buovjaga 2015-07-30 18:02:15 UTC
What were the versions of LibO and AOO that you saved the .ods files with? Or did you test against the older OOo?
Comment 2 Sugam 2015-08-31 09:12:55 UTC
I tried on version 4.3.3.4. Even the recent version's behaviour is same.
Comment 3 Buovjaga 2015-08-31 10:15:15 UTC
I take it you meant 4.3.3.2, so setting the version field to it (must be earliest affected).
Comment 4 raal 2015-08-31 14:53:39 UTC
Hello, is it duplicate of bug 62268?
Comment 5 Bartosz 2016-09-12 05:02:10 UTC
Is it possible to reproduce this issue with .xlsx?

If yes please attach .xlsx example.
Comment 6 Bartosz 2016-09-12 05:07:04 UTC
It will be great also to attach .ods file, to check if it is an export to .xls/.xlsx issue.
Comment 7 Sugam 2016-09-12 05:37:40 UTC
Issue is not reproducible with xlsx or ods. Is is with xls alone.
Comment 8 Xisco Faulí 2017-09-29 08:49:35 UTC Comment hidden (obsolete)
Comment 9 Joel Madero 2019-09-21 02:30:11 UTC
I am moving this out of "critical". Critical is reserved for our most serious bugs, this is not one of those (no data loss, no crashes). Setting as:

Normal: could in theory impact real world work
Comment 10 QA Administrators 2021-09-21 04:53:23 UTC Comment hidden (obsolete)
Comment 11 QA Administrators 2023-09-22 03:16:45 UTC Comment hidden (obsolete)
Comment 12 Stéphane Guillou (stragu) 2023-11-17 10:20:41 UTC
Reproduced in libreoffice-3.3.0, not in OOo 3.3.

Office.com opens the file with all text visible.

Unsure if it can be called a regression, but marking as "notBibsectable" anyway.