https://bugs.documentfoundation.org/show_bug.cgi?id=165359

            Bug ID: 165359
           Summary: FILESAVE DOCX Document with content control fails to
                    open in Word after roundtrip in Writer
           Product: LibreOffice
           Version: 24.2.0.3 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]
            Blocks: 113363

Created attachment 199355
  --> https://bugs.documentfoundation.org/attachment.cgi?id=199355&action=edit
forum-mso-en-3967.docx

Open and save the attached DOCX files back as DOCX in Writer, then try opening
the result in Word.

-> Word fails to open the file.

Looking at one of the samples, forum-mso-en-3967.docx, and document.xml in the
result, it seems the problem is related to moving one of the drawings to be
within sdt and sdtContent.

There is grouping around the content controls, if the grouping is removed in
Word, the roundtripped file can be opened in Word again. Not sure if that is
directly related to the bug or not.

Observed using LO 25.8.0.0.alpha0+ (41ab24cecd6ad74312843f113d2faa13259cdb7d) /
Windows.

Regression is from the following range, which is a single commit in 24.2
Windows bibisect repo:
https://cgit.freedesktop.org/libreoffice/core/log/?qt=range&q=5dff1f3a995a8e78a156214fd9c32b1005337183..a0b003257aa87d34a4403531798d0074e19a18ac
https://git.libreoffice.org/core/+log/5dff1f3a995a8e78a156214fd9c32b1005337183..a0b003257aa87d34a4403531798d0074e19a18ac
The commit is almost certainly the following, it can be verified in Linux if
someone wants to (it also fixed bug 148035):
https://cgit.freedesktop.org/libreoffice/core/commit/?id=5082d50d24c3fec4487c724a15eb0d54a82ecd0d
https://git.libreoffice.org/core/commit/5082d50d24c3fec4487c724a15eb0d54a82ecd0d
author          Jaume Pujantell <[email protected]> 2023-09-13
08:58:21 +0200
committer       Jaume Pujantell <[email protected]> 2023-10-11
15:19:58 +0200

writerfilter: use content controls for text in block SDTs


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=113363
[Bug 113363] [META] DOCX (OOXML) content control-related issues
-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to