Created attachment 203623 [details] files with the described problem Unpack the attached archive. The contained doc-files have this problem: When you open the file you get a message, "The file ... is corrupt and therefore cannot be opened." If you click on button `No` of the question to repair the file, you get a message, "could not be repaired and therefore cannot be opened". Click on button `OK`. The file opens and the content is there. If you click on button `Yes` of the question to repair the file, you get the same message, "could not be repaired and therefore cannot be opened". Click on button `OK`. The file does not open. There is something wrong in detection of "corrupt".
Reproducible Version: 26.2.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: 620(Build:0) CPU threads: 16; OS: Windows 11 X86_64 (build 26200); UI render: Skia/Raster; VCL: win Locale: es-ES (es_ES); UI: en-US Calc: threaded Latest version that works on the ones I have installed. Version: 25.8.4.0.0+ (X86_64) / LibreOffice Community Build ID: d8d4320a6420ea623f613203cc508a90e8d3c494 CPU threads: 16; OS: Windows 11 X86_64 (build 26200); UI render: Skia/Vulkan; VCL: win Locale: es-ES (es_ES); UI: en-US Calc: CL threaded
This seems to have begun at the below commit in bibisect repository/OS linux-64-26.2. Adding Cc: to Kohei Yoshida ; Could you possibly take a look at this one? Thanks 8fece65225707ae1cf38d3bffafa83b5b8f0a7a4 is the first bad commit commit 8fece65225707ae1cf38d3bffafa83b5b8f0a7a4 Author: Jenkins Build User <tdf@maggie.tdf> Date: Sat Aug 23 15:50:55 2025 +0200 source cd347097f726eae68fa819fe244d0bedf13832e9 190042: Automatically map generic JSON and XML documents to Calc | https://gerrit.libreoffice.org/c/core/+/190042
BTW, these documents are actually docx files, not doc the binary ones.
This should fix it: https://gerrit.libreoffice.org/c/core/+/196142
Kohei Yoshida committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/d669c1b3df498928a63e1d1e08c534d660a04b6d tdf#169154: Use detected type even if it differs from requested type It will be available in 26.8.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Kohei Yoshida committed a patch related to this issue. It has been pushed to "libreoffice-26-2": https://git.libreoffice.org/core/commit/86d5006eed139df3bc0a03cea1c567929caef73e tdf#169154: Use detected type even if it differs from requested type It will be available in 26.2.0.2. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Xisco Fauli committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/d41090ffd14261387ccf0f221a3a14ef9d9e00fd tdf#169154: filter_textfilterdetect: Add test It will be available in 26.8.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.