Bug 167506 - Filesave DOCX: border not seen when opening in Word
Summary: Filesave DOCX: border not seen when opening in Word
Status: UNCONFIRMED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
4.3.0.4 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: filter:docx, regression
Depends on:
Blocks: DOCX-Tables
  Show dependency treegraph
 
Reported: 2025-07-14 12:39 UTC by Timur
Modified: 2025-07-14 12:41 UTC (History)
0 users

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Timur 2025-07-14 12:39:55 UTC
Save attachment 201478 [details] from bug 167222 and reopen in MSO.
Border is not there. Regression in LO 4.3. Seen in 26.2+

Awful bisect points to this commit (mentioned in few tickets fixed by Justin):

commit ae61569eea0719a882010cfbb260a1a0d690d974	[log]
author	Jacobo Aragunde Pérez <jaragunde@igalia.com>	Thu Apr 03 16:27:37 2014 +0200
committer	Jacobo Aragunde Pérez <jaragunde@igalia.com>	Thu Apr 03 22:19:20 2014 +0200
oox: Do not overwrite table style properties

Some table properties can be defined by the table style but cells can
overwrite them in their cell properties section. Our exporter was
writing all the cell properties in all cases, regardless of them
being defined by the theme or not, and we shouldn't do that if we
want the document to work properly in Word.

To fix the issue I store the style-defined cell properties (the
format of all four borders) in the table grab bag. The exporter
recovers them and compares with the cell properties before writing
them; if the cell property matches the stlye-defined one, we don't
write it to the document.