Bug 166325 - FILESAVE DOCX Word fails to open roundtripped document (bg2 theme color turns into light2)
Summary: FILESAVE DOCX Word fails to open roundtripped document (bg2 theme color turns...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: filters and storage (show other bugs)
Version:
(earliest affected)
25.2.0.3 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisected, bisected, regression
Depends on:
Blocks: DOCX-Corrupted OOXML-Doc-Themes
  Show dependency treegraph
 
Reported: 2025-04-24 14:26 UTC by Aron Budea
Modified: 2025-04-25 03:58 UTC (History)
1 user (show)

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 Aron Budea 2025-04-24 14:26:35 UTC
Open and save attachment 99563 [details] from bug 79062 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 105 in word/footnotes.xml, which is the first line of this part:
<w14:schemeClr w14:val="light2">
  <w14:tint w14:val="85000"/>
  <w14:satMod w14:val="155000"/>
</w14:schemeClr>

This is a regression from the following commit in 25.2:
https://git.libreoffice.org/core/commit/baf179188d8b9e29188387fd4b7d887dd3168792
author		Vladislav Tarakanov <vladislav.tarakanov@bk.ru>	Sat Oct 19 00:12:34 2024 +0200
committer	Tomaž Vajngerl <quikee@gmail.com>	Sat Oct 19 14:26:23 2024 +0200

"tdf#156333 Adding a tint/shade values to the model"

The similar exported part looks like this when exported in a build preceding the regression:
<w14:schemeClr w14:val="bg2">
  <w14:tint w14:val="85000"/>
  <w14:satMod w14:val="155000"/>
</w14:schemeClr>

List of test files affected by this bug:
fdo70105-2.docx (attachment 87180 [details] from bug 70105)
fdo79062-1.docx (the attachment mentioned at the beginning)
forum-mso-de-111186.docx
forum-mso-en3-30100.docx
forum-mso-en-8841.docx
tdf105134-1.docx (attachment 130189 [details] from bug 105134 that is marked obsolete)