Created attachment 199355 [details] 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 <jaume.pujantell@collabora.com> 2023-09-13 08:58:21 +0200 committer Jaume Pujantell <jaume.pujantell@collabora.com> 2023-10-11 15:19:58 +0200 writerfilter: use content controls for text in block SDTs
Created attachment 199356 [details] forum-mso-en-2219.docx
Created attachment 199357 [details] forum-mso-en-2220.docx