Bug 152228 - Inconsistent "Show Boundaries" behavior based on document creation method
Summary: Inconsistent "Show Boundaries" behavior based on document creation method
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.2.6.2 release
Hardware: All Windows (All)
: medium minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: File-Opening
  Show dependency treegraph
 
Reported: 2022-11-25 23:45 UTC by altasilvapuer@gmail.com
Modified: 2023-08-18 17:38 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Test file created from LibreOffice File->New->Text Document (8.46 KB, text/plain)
2022-12-17 00:24 UTC, altasilvapuer@gmail.com
Details
Test file created from Windows Right-Click Context->New->Open Document Text (7.93 KB, application/vnd.oasis.opendocument.text)
2022-12-17 00:25 UTC, altasilvapuer@gmail.com
Details

Note You need to log in before you can comment on or make changes to this bug.
Description altasilvapuer@gmail.com 2022-11-25 23:45:07 UTC
Description:
If I create a .odt file by right-clicking in a folder and choosing "New->Open Document Text" from the context menu, I'll get the erroneous behavior.  If I create a .odt file by first opening LibreOffice, clicking New File, and then Writer, I get the correct behavior.

Erroneous Behavior: "Show Table Boundaries" does nothing.  "Show Text Boundaries" toggles BOTH table and text boundaries.

Correct Behavior: "Show Table Boundaries" toggles table boundaries, while "Show Text Boundaries" toggles text boundaries.

Steps to Reproduce:
REPRO BUG:
1. Create ODT file from Windows Context menu (New->Open Document Text)
2. Insert Table of any number of rows/columns
3. Set all borders of said table to invisible
4. Toggle "Show Table Boundaries" on/off
5. Toggle "Show Text Boundaries" on/off
6. Observe erroneous behavior of toggles.

REPRO UNBUGGED:
7. Create ODT file from LibreOffice New File menu (inside LibreOffice)
8. Repeat steps 2-5
9. Observe expected/correct behavior of toggles.

Actual Results:
In the bugged file, "Show Table Boundaries" and "Show Text Boundaries" do not properly toggle the appropriate elements.

Expected Results:
"Show Table Boundaries" and "Show Text Boundaries" should ONLY toggle their respective elements.


Reproducible: Always


User Profile Reset: Yes

Additional Info:
I first observed this behavior in April of 2022 and reported it on AskLO, where it appeared to be tied to a partially-corrupted file.  Since then, I have coincidentally wiped my hard drive and reinstalled LO at least once, as well as reset my profile at least once, and happened upon the same bug behavior again today.

I have not yet had time to download or attempt to reproduce the bug in the 7.4.x line.
Comment 1 Dieter 2022-12-04 16:45:30 UTC
Thank you for reporting the bug. It seems you're using an old version of LibreOffice. Could you please try to reproduce it with the latest version of LibreOffice from https://www.libreoffice.org/download/libreoffice-fresh/ ? I have set the bug's status to 'NEEDINFO'. Please change it back to 'UNCONFIRMED' if the bug is still present in the latest version. Change to RESOLVED WORKSFORME, if the problem went away.
Comment 2 altasilvapuer@gmail.com 2022-12-17 00:24:27 UTC
Created attachment 184201 [details]
Test file created from LibreOffice File->New->Text Document
Comment 3 altasilvapuer@gmail.com 2022-12-17 00:25:08 UTC
Created attachment 184202 [details]
Test file created from Windows Right-Click Context->New->Open Document Text
Comment 4 altasilvapuer@gmail.com 2022-12-17 00:28:37 UTC
Sorry for the delay; I was finally able to get back to this.  I am now updated to 7.4.3.2, and can confirm the described behavior persists.

I've also uploaded two test documents that I used to confirm the error:

"FromDesktop.odt"
1. Right-click on desktop
2. Context menu "New"
3. Select "Open Document Text"

"FromFileNew.odt"
1. Open LibreOffice
2. File menu
3. New -> Text Document

Then in each file, I inserted a table of a random size, set the properties of said table to have no boundary, and then tried toggling "Show Text Boundaries" and "Show Table Boundaries".
Comment 5 BogdanB 2022-12-17 06:25:37 UTC
No problem in
Version: 7.5.0.0.alpha1+ (X86_64) / LibreOffice Community
Build ID: ad085990b8073a122ac5222e5220f8f1d6826dcf
CPU threads: 16; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: ro-RO (ro_RO.UTF-8); UI: en-US
Calc: threaded

when I toogled "Show Text Boundaries" the corner of the page became visible/invisible.

when I toogled "Show Table Boundaries" the invisible borders of the table became visible/invisible.
Comment 6 BogdanB 2022-12-17 06:29:52 UTC Comment hidden (obsolete)
Comment 7 BogdanB 2022-12-17 06:30:48 UTC
I confirm the behaviour with the doc "FromDesktop.odt".
When toogled "Show Text Boundaries" the table bounderies are gone.

But I can NOT reproduce with a new file in the same version.

So, it seems that there is a problem in the structure of the new created file.

Version: 7.5.0.0.alpha1+ (X86_64) / LibreOffice Community
Build ID: ad085990b8073a122ac5222e5220f8f1d6826dcf
CPU threads: 16; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: ro-RO (ro_RO.UTF-8); UI: en-US
Calc: threaded
Comment 8 BogdanB 2022-12-18 11:20:48 UTC
This is the difference of content for the file content.xml for a new file generated with the new version and for the version from the bug.

I am not the right person to analize what is wrong/good, but this are the differences.

--- content.xml
+++ content1.xml
@@ -1,2 +1,2 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<office:document-content xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0" xmlns:ooo="http://openoffice.org/2004/office" xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0" xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0" xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0" xmlns:rpt="http://openoffice.org/2005/report" xmlns:draw="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0" xmlns:dr3d="urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0" xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0" xmlns:chart="urn:oasis:names:tc:opendocument:xmlns:chart:1.0" xmlns:table="urn:oasis:names:tc:opendocument:xmlns:table:1.0" xmlns:number="urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0" xmlns:ooow="http://openoffice.org/2004/writer" xmlns:oooc="http://openoffice.org/2004/calc" xmlns:of="urn:oasis:names:tc:opendocument:xmlns:of:1.2" xmlns:xforms="http://www.w3.org/2002/xforms" xmlns:tableooo="http://openoffice.org/2009/table" xmlns:calcext="urn:org:documentfoundation:names:experimental:calc:xmlns:calcext:1.0" xmlns:drawooo="http://openoffice.org/2010/draw" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:loext="urn:org:documentfoundation:names:experimental:office:xmlns:loext:1.0" xmlns:field="urn:openoffice:names:experimental:ooo-ms-interop:xmlns:field:1.0" xmlns:math="http://www.w3.org/1998/Math/MathML" xmlns:form="urn:oasis:names:tc:opendocument:xmlns:form:1.0" xmlns:script="urn:oasis:names:tc:opendocument:xmlns:script:1.0" xmlns:formx="urn:openoffice:names:experimental:ooxml-odf-interop:xmlns:form:1.0" xmlns:dom="http://www.w3.org/2001/xml-events" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:grddl="http://www.w3.org/2003/g/data-view#" xmlns:css3t="http://www.w3.org/TR/css3-text/" xmlns:officeooo="http://openoffice.org/2009/office" office:version="1.3"><office:scripts/><office:font-face-decls><style:font-face style:name="Liberation Serif" svg:font-family="&apos;Liberation Serif&apos;" style:font-family-generic="roman" style:font-pitch="variable"/><style:font-face style:name="Segoe UI" svg:font-family="&apos;Segoe UI&apos;" style:font-family-generic="system" style:font-pitch="variable"/><style:font-face style:name="Tahoma" svg:font-family="Tahoma" style:font-family-generic="system" style:font-pitch="variable"/></office:font-face-decls><office:automatic-styles><style:style style:name="Table1" style:family="table"><style:table-properties style:width="6.925in" table:align="margins"/></style:style><style:style style:name="Table1.A" style:family="table-column"><style:table-column-properties style:column-width="1.3847in" style:rel-column-width="13107*"/></style:style><style:style style:name="Table1.A1" style:family="table-cell"><style:table-cell-properties fo:padding="0.0382in" fo:border="none"/></style:style></office:automatic-styles><office:body><office:text><text:sequence-decls><text:sequence-decl text:display-outline-level="0" text:name="Illustration"/><text:sequence-decl text:display-outline-level="0" text:name="Table"/><text:sequence-decl text:display-outline-level="0" text:name="Text"/><text:sequence-decl text:display-outline-level="0" text:name="Drawing"/><text:sequence-decl text:display-outline-level="0" text:name="Figure"/></text:sequence-decls><table:table table:name="Table1" table:style-name="Table1"><table:table-column table:style-name="Table1.A" table:number-columns-repeated="5"/><table:table-row><table:table-cell table:style-name="Table1.A1" office:value-type="string"><text:p text:style-name="Table_20_Contents"/></table:table-cell><table:table-cell table:style-name="Table1.A1" office:value-type="string"><text:p text:style-name="Table_20_Contents"/></table:table-cell><table:table-cell table:style-name="Table1.A1" office:value-type="string"><text:p text:style-name="Table_20_Contents"/></table:table-cell><table:table-cell table:style-name="Table1.A1" office:value-type="string"><text:p text:style-name="Table_20_Contents"/></table:table-cell><table:table-cell table:style-name="Table1.A1" office:value-type="string"><text:p text:style-name="Table_20_Contents"/></table:table-cell></table:table-row><table:table-row><table:table-cell table:style-name="Table1.A1" office:value-type="string"><text:p text:style-name="Table_20_Contents"/></table:table-cell><table:table-cell table:style-name="Table1.A1" office:value-type="string"><text:p text:style-name="Table_20_Contents"/></table:table-cell><table:table-cell table:style-name="Table1.A1" office:value-type="string"><text:p text:style-name="Table_20_Contents"/></table:table-cell><table:table-cell table:style-name="Table1.A1" office:value-type="string"><text:p text:style-name="Table_20_Contents"/></table:table-cell><table:table-cell table:style-name="Table1.A1" office:value-type="string"><text:p text:style-name="Table_20_Contents"/></table:table-cell></table:table-row><table:table-row><table:table-cell table:style-name="Table1.A1" office:value-type="string"><text:p text:style-name="Table_20_Contents"/></table:table-cell><table:table-cell table:style-name="Table1.A1" office:value-type="string"><text:p text:style-name="Table_20_Contents"/></table:table-cell><table:table-cell table:style-name="Table1.A1" office:value-type="string"><text:p text:style-name="Table_20_Contents"/></table:table-cell><table:table-cell table:style-name="Table1.A1" office:value-type="string"><text:p text:style-name="Table_20_Contents"/></table:table-cell><table:table-cell table:style-name="Table1.A1" office:value-type="string"><text:p text:style-name="Table_20_Contents"/></table:table-cell></table:table-row><table:table-row><table:table-cell table:style-name="Table1.A1" office:value-type="string"><text:p text:style-name="Table_20_Contents"/></table:table-cell><table:table-cell table:style-name="Table1.A1" office:value-type="string"><text:p text:style-name="Table_20_Contents"/></table:table-cell><table:table-cell table:style-name="Table1.A1" office:value-type="string"><text:p text:style-name="Table_20_Contents"/></table:table-cell><table:table-cell table:style-name="Table1.A1" office:value-type="string"><text:p text:style-name="Table_20_Contents"/></table:table-cell><table:table-cell table:style-name="Table1.A1" office:value-type="string"><text:p text:style-name="Table_20_Contents"/></table:table-cell></table:table-row><table:table-row><table:table-cell table:style-name="Table1.A1" office:value-type="string"><text:p text:style-name="Table_20_Contents"/></table:table-cell><table:table-cell table:style-name="Table1.A1" office:value-type="string"><text:p text:style-name="Table_20_Contents"/></table:table-cell><table:table-cell table:style-name="Table1.A1" office:value-type="string"><text:p text:style-name="Table_20_Contents"/></table:table-cell><table:table-cell table:style-name="Table1.A1" office:value-type="string"><text:p text:style-name="Table_20_Contents"/></table:table-cell><table:table-cell table:style-name="Table1.A1" office:value-type="string"><text:p text:style-name="Table_20_Contents"/></table:table-cell></table:table-row><table:table-row><table:table-cell table:style-name="Table1.A1" office:value-type="string"><text:p text:style-name="Table_20_Contents"/></table:table-cell><table:table-cell table:style-name="Table1.A1" office:value-type="string"><text:p text:style-name="Table_20_Contents"/></table:table-cell><table:table-cell table:style-name="Table1.A1" office:value-type="string"><text:p text:style-name="Table_20_Contents"/></table:table-cell><table:table-cell table:style-name="Table1.A1" office:value-type="string"><text:p text:style-name="Table_20_Contents"/></table:table-cell><table:table-cell table:style-name="Table1.A1" office:value-type="string"><text:p text:style-name="Table_20_Contents"/></table:table-cell></table:table-row></table:table><text:p text:style-name="Standard"/></office:text></office:body></office:document-content>
\ No newline at end of file

+<?xml version="1.0" encoding="UTF-8"?>
+<office:document-content xmlns:css3t="http://www.w3.org/TR/css3-text/" xmlns:grddl="http://www.w3.org/2003/g/data-view#" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xforms="http://www.w3.org/2002/xforms" xmlns:dom="http://www.w3.org/2001/xml-events" xmlns:script="urn:oasis:names:tc:opendocument:xmlns:script:1.0" xmlns:form="urn:oasis:names:tc:opendocument:xmlns:form:1.0" xmlns:math="http://www.w3.org/1998/Math/MathML" xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0" xmlns:ooo="http://openoffice.org/2004/office" xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0" xmlns:ooow="http://openoffice.org/2004/writer" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:drawooo="http://openoffice.org/2010/draw" xmlns:oooc="http://openoffice.org/2004/calc" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:calcext="urn:org:documentfoundation:names:experimental:calc:xmlns:calcext:1.0" xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0" xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0" xmlns:of="urn:oasis:names:tc:opendocument:xmlns:of:1.2" xmlns:tableooo="http://openoffice.org/2009/table" xmlns:draw="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0" xmlns:dr3d="urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0" xmlns:rpt="http://openoffice.org/2005/report" xmlns:formx="urn:openoffice:names:experimental:ooxml-odf-interop:xmlns:form:1.0" xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0" xmlns:chart="urn:oasis:names:tc:opendocument:xmlns:chart:1.0" xmlns:officeooo="http://openoffice.org/2009/office" xmlns:table="urn:oasis:names:tc:opendocument:xmlns:table:1.0" xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0" xmlns:loext="urn:org:documentfoundation:names:experimental:office:xmlns:loext:1.0" xmlns:number="urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0" xmlns:field="urn:openoffice:names:experimental:ooo-ms-interop:xmlns:field:1.0" office:version="1.3"><office:scripts/><office:font-face-decls><style:font-face style:name="Liberation Sans" svg:font-family="&apos;Liberation Sans&apos;" style:font-family-generic="swiss" style:font-pitch="variable"/><style:font-face style:name="Liberation Serif" svg:font-family="&apos;Liberation Serif&apos;" style:font-family-generic="roman" style:font-pitch="variable"/><style:font-face style:name="Lohit Devanagari" svg:font-family="&apos;Lohit Devanagari&apos;"/><style:font-face style:name="Lohit Devanagari1" svg:font-family="&apos;Lohit Devanagari&apos;" style:font-family-generic="system" style:font-pitch="variable"/><style:font-face style:name="Noto Sans CJK SC" svg:font-family="&apos;Noto Sans CJK SC&apos;" style:font-family-generic="system" style:font-pitch="variable"/><style:font-face style:name="Noto Serif CJK SC" svg:font-family="&apos;Noto Serif CJK SC&apos;" style:font-family-generic="system" style:font-pitch="variable"/></office:font-face-decls><office:automatic-styles><style:style style:name="Table1" style:family="table"><style:table-properties style:width="17cm" table:align="margins"/></style:style><style:style style:name="Table1.A" style:family="table-column"><style:table-column-properties style:column-width="3.401cm" style:rel-column-width="13107*"/></style:style><style:style style:name="Table1.A1" style:family="table-cell"><style:table-cell-properties fo:padding="0.097cm" fo:border-left="0.5pt solid #000000" fo:border-right="none" fo:border-top="0.5pt solid #000000" fo:border-bottom="0.5pt solid #000000"/></style:style><style:style style:name="Table1.E1" style:family="table-cell"><style:table-cell-properties fo:padding="0.097cm" fo:border="0.5pt solid #000000"/></style:style><style:style style:name="Table1.A2" style:family="table-cell"><style:table-cell-properties fo:padding="0.097cm" fo:border-left="0.5pt solid #000000" fo:border-right="none" fo:border-top="none" fo:border-bottom="0.5pt solid #000000"/></style:style><style:style style:name="Table1.E2" style:family="table-cell"><style:table-cell-properties fo:padding="0.097cm" fo:border-left="0.5pt solid #000000" fo:border-right="0.5pt solid #000000" fo:border-top="none" fo:border-bottom="0.5pt solid #000000"/></style:style></office:automatic-styles><office:body><office:text><text:sequence-decls><text:sequence-decl text:display-outline-level="0" text:name="Illustration"/><text:sequence-decl text:display-outline-level="0" text:name="Table"/><text:sequence-decl text:display-outline-level="0" text:name="Text"/><text:sequence-decl text:display-outline-level="0" text:name="Drawing"/><text:sequence-decl text:display-outline-level="0" text:name="Figure"/></text:sequence-decls><table:table table:name="Table1" table:style-name="Table1"><table:table-column table:style-name="Table1.A" table:number-columns-repeated="5"/><table:table-row><table:table-cell table:style-name="Table1.A1" office:value-type="string"><text:p text:style-name="Table_20_Contents"/></table:table-cell><table:table-cell table:style-name="Table1.A1" office:value-type="string"><text:p text:style-name="Table_20_Contents"/></table:table-cell><table:table-cell table:style-name="Table1.A1" office:value-type="string"><text:p text:style-name="Table_20_Contents"/></table:table-cell><table:table-cell table:style-name="Table1.A1" office:value-type="string"><text:p text:style-name="Table_20_Contents"/></table:table-cell><table:table-cell table:style-name="Table1.E1" office:value-type="string"><text:p text:style-name="Table_20_Contents"/></table:table-cell></table:table-row><table:table-row><table:table-cell table:style-name="Table1.A2" office:value-type="string"><text:p text:style-name="Table_20_Contents"/></table:table-cell><table:table-cell table:style-name="Table1.A2" office:value-type="string"><text:p text:style-name="Table_20_Contents"/></table:table-cell><table:table-cell table:style-name="Table1.A2" office:value-type="string"><text:p text:style-name="Table_20_Contents"/></table:table-cell><table:table-cell table:style-name="Table1.A2" office:value-type="string"><text:p text:style-name="Table_20_Contents"/></table:table-cell><table:table-cell table:style-name="Table1.E2" office:value-type="string"><text:p text:style-name="Table_20_Contents"/></table:table-cell></table:table-row><table:table-row><table:table-cell table:style-name="Table1.A2" office:value-type="string"><text:p text:style-name="Table_20_Contents"/></table:table-cell><table:table-cell table:style-name="Table1.A2" office:value-type="string"><text:p text:style-name="Table_20_Contents"/></table:table-cell><table:table-cell table:style-name="Table1.A2" office:value-type="string"><text:p text:style-name="Table_20_Contents"/></table:table-cell><table:table-cell table:style-name="Table1.A2" office:value-type="string"><text:p text:style-name="Table_20_Contents"/></table:table-cell><table:table-cell table:style-name="Table1.E2" office:value-type="string"><text:p text:style-name="Table_20_Contents"/></table:table-cell></table:table-row><table:table-row><table:table-cell table:style-name="Table1.A2" office:value-type="string"><text:p text:style-name="Table_20_Contents"/></table:table-cell><table:table-cell table:style-name="Table1.A2" office:value-type="string"><text:p text:style-name="Table_20_Contents"/></table:table-cell><table:table-cell table:style-name="Table1.A2" office:value-type="string"><text:p text:style-name="Table_20_Contents"/></table:table-cell><table:table-cell table:style-name="Table1.A2" office:value-type="string"><text:p text:style-name="Table_20_Contents"/></table:table-cell><table:table-cell table:style-name="Table1.E2" office:value-type="string"><text:p text:style-name="Table_20_Contents"/></table:table-cell></table:table-row><table:table-row><table:table-cell table:style-name="Table1.A2" office:value-type="string"><text:p text:style-name="Table_20_Contents"/></table:table-cell><table:table-cell table:style-name="Table1.A2" office:value-type="string"><text:p text:style-name="Table_20_Contents"/></table:table-cell><table:table-cell table:style-name="Table1.A2" office:value-type="string"><text:p text:style-name="Table_20_Contents"/></table:table-cell><table:table-cell table:style-name="Table1.A2" office:value-type="string"><text:p text:style-name="Table_20_Contents"/></table:table-cell><table:table-cell table:style-name="Table1.E2" office:value-type="string"><text:p text:style-name="Table_20_Contents"/></table:table-cell></table:table-row><table:table-row><table:table-cell table:style-name="Table1.A2" office:value-type="string"><text:p text:style-name="Table_20_Contents"/></table:table-cell><table:table-cell table:style-name="Table1.A2" office:value-type="string"><text:p text:style-name="Table_20_Contents"/></table:table-cell><table:table-cell table:style-name="Table1.A2" office:value-type="string"><text:p text:style-name="Table_20_Contents"/></table:table-cell><table:table-cell table:style-name="Table1.A2" office:value-type="string"><text:p text:style-name="Table_20_Contents"/></table:table-cell><table:table-cell table:style-name="Table1.E2" office:value-type="string"><text:p text:style-name="Table_20_Contents"/></table:table-cell></table:table-row></table:table><text:p text:style-name="Standard"/></office:text></office:body></office:document-content>
\ No newline at end of file
Comment 9 altasilvapuer@gmail.com 2023-01-02 17:19:51 UTC
I'm not exactly an XML expert, either, but dropping it in VSCode just to read it, probably 98% of it appears to be identical.

Here's the bits that are actually different:
NOTE: The items within <office:document-content> are identical, but in random order, so I'm not going to retype them here, unless the order of items in XML matters.  It reads like a Python dictionary or similar unordered structure to me.

For the rest, it's just the font section and the table sections.  I can't tell from Bogdan's reply which sample is which, so I'm just going to label them A and B.

=================================================
The Table bit is interesting to me.  It looks like the base declaration is virtually the same in both.  Sample A has everything in inches, and Sample B has everything in centimeters.  Sample B then has a few additional lines:

<style:table-cell-properties fo:padding="0.097cm"
                             fo:border-left="0.5pt solid #000000"
                             fo:border-right="none"
                             fo:border-top="0.5pt solid #000000"
                             fo:border-bottom="0.5pt solid #000000"/>
</style:style>
<style:style style:name="Table1.E1" style:family="table-cell">
<style:table-cell-properties fo:padding="0.097cm"
                             fo:border="0.5pt solid #000000"/>
</style:style>
<style:style style:name="Table1.A2" style:family="table-cell">
<style:table-cell-properties fo:padding="0.097cm"
                             fo:border-left="0.5pt solid #000000"
                             fo:border-right="none"
                             fo:border-top="none"
                             fo:border-bottom="0.5pt solid #000000"/>
</style:style>
<style:style style:name="Table1.E2" style:family="table-cell">
<style:table-cell-properties fo:padding="0.097cm"
                             fo:border-left="0.5pt solid #000000"
                             fo:border-right="0.5pt solid #000000"
                             fo:border-top="none"
                             fo:border-bottom="0.5pt solid #000000"/>

=================================================
Sample A Fonts:
<style:font-face style:name="Liberation Serif"
                 svg:font-family="&apos;Liberation Serif&apos;"
                 style:font-family-generic="roman"
                 style:font-pitch="variable"/>
<style:font-face style:name="Segoe UI"
                 svg:font-family="&apos;Segoe UI&apos;"
                 style:font-family-generic="system"
                 style:font-pitch="variable"/>
<style:font-face style:name="Tahoma"
                 svg:font-family="Tahoma"
                 style:font-family-generic="system"
                 style:font-pitch="variable"/>
</office:font-face-decls>

Sample B Fonts:
<style:font-face style:name="Liberation Sans"
                 svg:font-family="&apos;Liberation Sans&apos;"
                 style:font-family-generic="swiss"
                 style:font-pitch="variable"/>
<style:font-face style:name="Liberation Serif"
                 svg:font-family="&apos;Liberation Serif&apos;"
                 style:font-family-generic="roman"
                 style:font-pitch="variable"/>
<style:font-face style:name="Lohit Devanagari"
                 svg:font-family="&apos;Lohit Devanagari&apos;"/>
<style:font-face style:name="Lohit Devanagari1"
                 svg:font-family="&apos;Lohit Devanagari&apos;"
                 style:font-family-generic="system"
                 style:font-pitch="variable"/>
<style:font-face style:name="Noto Sans CJK SC"
                 svg:font-family="&apos;Noto Sans CJK SC&apos;"
                 style:font-family-generic="system"
                 style:font-pitch="variable"/>
<style:font-face style:name="Noto Serif CJK SC"
                 svg:font-family="&apos;Noto Serif CJK SC&apos;"
                 style:font-family-generic="system"
                 style:font-pitch="variable"/>
</office:font-face-decls>

=======================================================


All of this leads me to wonder if the file getting created from "[ContextMenu]->New->Open Document Text" is ACTUALLY producing a file of the correct version, or if it just thinks it is?
Comment 10 altasilvapuer@gmail.com 2023-01-02 17:27:44 UTC
Following up on my last statement about suspecting a version mismatch, something caught my eye as I was just about to close this page:

If you look at the file attachment section of this document, the "[ContextMenu]->New->Open Document Text" file is showing the type "application/vnd.oasis.opendocument.text"

The "File->New->Text Document" file is showing the type "text/plain"

I'm new to bugzilla.  Is that an indication of a fundamental difference in the file structure of the two files?  Because if so, that could be partly our culprit, if they're slightly different "flavors" of ODT and LO is reading them differently.
Comment 11 BogdanB 2023-08-18 17:38:37 UTC
I have meta this bug with "File opening issues", since "Show Table Boundaries" is working different based on how the file was created/generated. It's seen different based on type "application/vnd.oasis.opendocument.text".