Created attachment 97850 [details]
LibO 4.2's display of the table
I downloaded the .docx file found at < http://download.microsoft.com/documents/rus/microsoft4you/How_to_license_the_operating_system_Windows_8_new.docx > and opened it in Calligra Words 2.8 and then saved it as a odt file. Then i opened the saved file in LibO and on page 7, the table is crushed flat with 1 or 2 characters per line. Tested in LibO 3.6+.
Created attachment 97851 [details]
how the table looks after reopening in Calligra Words
Comment on attachment 97850 [details]
LibO 4.2's display of the table
@Jay: you mind attaching the created ODF using Calligra Words 2.8?
Created attachment 98036 [details]
odt created by calligra words
Reproducible, tested using Windows 8.1 with LibreOffice Version: 220.127.116.11.alpha1+
Build ID: f4a6837025a293312cbc43b9c527851362f11030
TinderBox: Win-x86@47-TDF, Branch:MASTER, Time: 2014-04-26_09:21:18
Repro on 18.104.22.168 Win 7, but on dev build the odt doesn't open and gives:
Error reading file.
Dev build used:
Build ID: 9177329a425cf70b515d1f266132838894fe54c6
TinderBox: Win-x86@39, Branch:master, Time: 2014-10-06_01:02:02
Crushing gone -> WFM.
Win 7 64-bit 22.214.171.124 and Version: 126.96.36.199.alpha0+
Build ID: 8c7f6830e767897d3a0e88f75fc8d7ef7fca95dc
TinderBox: Win-x86@42, Branch:master, Time: 2015-01-06_00:47:25
Still crushed flat for me with attachment 98036 [details] on pages 7 to the end of the document.
Build ID: 39ac529d141dcd4de534eddbcc6c07bc49367b90
TinderBox: Linux-rpm_deb-x86@45-TDF, Branch:master, Time: 2015-01-04_00:40:43
Apologies, misread repro steps.
Migrating Whiteboard tags to Keywords: (filter:odt)
** Please read this message in its entirety before responding **
To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year.
There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present.
If you have time, please do the following:
Test to see if the bug is still present on a currently supported version of LibreOffice
(5.1.6 or 5.2.3 https://www.libreoffice.org/download/
If the bug is present, please leave a comment that includes the version of LibreOffice and
your operating system, and any changes you see in the bug behavior
If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave
a short comment that includes your version of LibreOffice and Operating System
Please DO NOT
Update the version field
Reply via email (please reply directly on the bug tracker)
Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not
appropriate in this case)
If you want to do more to help you can test to see if your issue is a REGRESSION. To do so:
1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3)
2. Test your bug
3. Leave a comment with your results.
4a. If the bug was present with 3.3 - set version to "inherited from OOo";
4b. If the bug was not present in 3.3 - add "regression" to keyword
Feel free to come ask questions or to say hello in our QA chat: http://webchat.freenode.net/?channels=libreoffice-qa
Thank you for helping us make LibreOffice even better for everyone!
Build ID: 892c719fffa06de4c7aeab497326cad7bae9e5c6
CPU threads: 2; OS: Linux 4.4; UI render: default; VCL: gtk2;
TinderBox: Linux-rpm_deb-x86_64@70-TDF, Branch:master, Time: 2017-09-27_03:02:09
Locale: en-US (en_US.UTF-8); Calc: group
So looking in the XML, Calligra outputted the table column style like this
<style:style style:name="Table1" style:family="table">
<style:table-properties fo:keep-with-next="auto" fo:margin="0.000000000000000pt" style:may-break-between-rows="false" style:rel-width="0%" style:writing-mode="page" table:align="left" table:border-model="collapsing"/>
and i'm guess that 'style:rel-width="0%"' is causing the problem, as opening one of the tables in LO shows width = 1% and relative checked. LO outputs it like this
<style:style style:name="Table2" style:family="table">
<style:table-properties style:width="17.461cm" fo:margin-left="0cm" fo:margin-top="0cm" fo:margin-bottom="0cm" table:align="left" style:writing-mode="lr-tb" />
@Regina, @Michael: your thoughts?
Yes, style:rel-width="0%" is the problem. Replace it with style:rel-width="100%" and the table will be shown correctly in LibreOffice.
The specification says [part 1,20.332.2 <style:table-properties>]
"The style:rel-width attribute specifies the width of a table relative to the width of the area that the table is in."
and 0% from anything is 0, which means not rendering the table.
I suggest: Not our bug.
(In reply to Regina Henschel from comment #13)
> and 0% from anything is 0, which means not rendering the table.
Well LO didnt even respect the 0% and changed it to 1%, so maybe we could say that 0% as an invalid percentage value which should be ignored if set.
> I suggest: Not our bug.
If Michael agrees, lets close it.
agree we interpret 0% correctly