https://bugs.documentfoundation.org/show_bug.cgi?id=166335
Bug ID: 166335
Summary: FILESAVE DOCX Word fails to open roundtripped document
(issue with shape guides/glue points)
Product: LibreOffice
Version: 25.2.2.2 release
Hardware: All
OS: All
Status: UNCONFIRMED
Keywords: bibisected, bisected, regression
Severity: normal
Priority: medium
Component: filters and storage
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected]
Blocks: 104442
Open and save attachment 115291 from bug 91061 back to DOCX, then try opening
it in Word.
=> Word fails to open the file cleanly.
Observed using LO 25.8.0.0.alpha0+ (736998ccef0bacdd2bbf038c98dacfbe654f1a4d) /
Windows.
If one:
- unzips the saved DOCX,
- executes the following command (can be done in Linux/Cygwin, needs xmllint
installed): find . -name "*.xml" -type f -exec xmllint --output '{}' --format
'{}' \;
- rezips the result with .docx extension
...then Word points to line 204 of /word/document.xml, which is the end of an
<a:custGeom> element.
The element has lots of shape guides/gluepoints.
This is a regression from the following commit in 25.8 (and its 25.2 backport):
https://git.libreoffice.org/core/commit/86d36ee56521438069504fbacff8dc2aff3a1afc
https://cgit.freedesktop.org/libreoffice/core/commit/?id=86d36ee56521438069504fbacff8dc2aff3a1afc
author Tibor Nagy <[email protected]> Sun Feb 23
21:35:17 2025 +0100
committer Nagy Tibor <[email protected]> Mon Feb 24
14:22:14 2025 +0100
"tdf165262 PPTX export: fix shape export regression"
Those suspicious gluepoints aren't there when exported from a build preceding
the regressing commit.
Based on basic research, it looks like "logwidth" isn't an allowed formula
element for shape guides, eg.:
<a:gd name="GluePoint1Y" fmla="3048002*logwidth/6096000"/>
List of test files regressing from the same commit:
fdo75230-1.docx
fdo83227-3.docx
forum-mso-en-11007.docx
forum-mso-en-12264.docx
forum-mso-en-12822.docx
forum-mso-en-16347.docx
forum-mso-en-16497.docx
forum-mso-en-17960.docx
forum-mso-en-3360.docx
forum-mso-en-4455.docx
forum-mso-en-4463.docx
forum-mso-en-4464.docx
forum-mso-en4-598647.docx
forum-mso-en4-746483.docx
forum-mso-en4-771610.docx
forum-mso-en-5509.docx
forum-mso-en-5558.docx
forum-mso-en-6088.docx
forum-mso-en-970.docx
forum-mso-en-974.docx
ooo123731-1.docx
tdf91061-1.docx
Referenced Bugs:
https://bugs.documentfoundation.org/show_bug.cgi?id=104442
[Bug 104442] [META] OOXML shape (DrawingML and VML) related issues
--
You are receiving this mail because:
You are the assignee for the bug.