Created attachment 174863 [details] corrupted(???) ods file Asking repairing ods file, choosing no, says not open but open 1) Click ods file 2) prompt to repair file "Should LibreOfficeDev repair the file?" 3A) Answer no "The file 'Auto_CODING.ods' could not be repaired and therefore cannot be opened." 4) File open normally 3B) Answer Yes - "The file '$(ARG1)' could not be repaired and therefore cannot be opened." 4) file not open (see attachmenet) ps. Experimental feautures on for 4k+ columns
Repro using master, and also Version: 7.2.1.1 (x64) / LibreOffice Community Build ID: 3cfc32d9754d2d239bd8ce2941029c12873010c1 CPU threads: 12; OS: Windows 10.0 Build 19043; UI render: Skia/Raster; VCL: win Locale: ru-RU (ru_RU); UI: en-US Calc: threaded Jumbo. The attachment is *not* an ODS, but an XLSX (with wrong ODS extension). Renaming it to XLSX "fixes" the problem. However, this is still a bug: I suspect that the error message is generated at format detection stage, which should not happen. If rejected, the failing ODS filter is rejected, detection proceeds, and other filters are tested normally, selecting the correct XLSX filter eventually. Accepting the fix terminates the detection, and expectedly fails to open the file using wrong filter. (again, this is just a guess.) Interesting to check if this works in an earlier version.
OK with Version: 4.2.0.4 Build ID: 05dceb5d363845f2cf968344d7adab8dcfb2ba71 Bug in Version: 4.3.0.4 Build ID: 62ad5818884a2fc2e5780dd45466868d41009ec0 Regression.
https://gerrit.libreoffice.org/c/core/+/121766 is a code that I created this night; it doesn't work as intended, and I abandon it, and put here just as a possible pointer to whoever wants to try to fix this and solve the problem that is mentioned there in the message of the change.
Bisected with bibisect-43max: Bibisect: This commit covers the following source commit(s) which failed to build 6b431b1f0d397067504b5300d49e10e232936836 7fbe0f56192f7e106c560646d37fbb93b69b0446 ac402b7b3b4bd71e21ad85d3037a297582f1562a 5b641f04fdac6035ddfa9b09fbb23c6597b3b437 f79e5dfcc3d59c6d78d69163b558b32ee9ff22df 1e923777a1beae71ea143d2d55cd0e02ed1e03e0 b8c033869ede74b3855a1b91eceb80a78b53c8f3 e17b3e3c6bfb050c83c2d4d45e28eb7c875ddfa5 914699ab696547002f987e45b58f505ca463dec6 9147f41ebfc74d0f006be5dd7e1bcb4b47c5ce22 a182ed8479b8bb6eea27c461dc8ba85af44a08a8 4bf3cb7668a80a1482962fd3dc3d4a3da1874455 f9274ebab5963a988f622d67c5506c1455b8b31d 088afc6222b8609750a9869840ad3363ae3e923e 09ebcc26f679a5d04d0b13be6fb2eae02b0b32b1 22f719aa96cfbf8187843fb02c328dc43ea95e3f 5461d1b21804a063ec2757e79fd8bcb99a743e0f 1b546c0b480a3b62479aee3648d0f683be05375a 278ae5db852ba8715d4d1d5a1eaa38bdff5a7ea5 5a6ebfd1d9162a05671d10bca5167008791aea60 df1df2be74805a9106a3d67a322bc63cdf5107b8 d5e89e0573bb92819c20b808b07347d57f6e6a0d b44ca2f45e86abb62718534fad43cdd3741101ba f82f7bf3dd5053049259f6933d1335f6c9e314dd dddd9b41f59fa9857159cef70add9e2343dd1ab1 4b7bdef4b1d1e4ff45a8816c038df38ce7995b3d e97f19e96c094457ba98e3f89195cad4d814e8a3
Moving to trivial. I can see attempting to solve this if the fix is also trivial, but as Mike already notes, it doesn't seem to be entirely straightforward.
(In reply to raal from comment #4) The two (or maybe three) commits from the list are important here: https://git.libreoffice.org/core/+/f82f7bf3dd5053049259f6933d1335f6c9e314dd https://git.libreoffice.org/core/+/dddd9b41f59fa9857159cef70add9e2343dd1ab1 https://git.libreoffice.org/core/+/4b7bdef4b1d1e4ff45a8816c038df38ce7995b3d (?) Thanks raal! Unfortunately, this won't help much here: the change is architectural, and the regression is the side effect of the chosen architecture, not some small mistake. Still, knowing these changes allows one to have a look at the change, and see the logic implemented there - which might help designing a fix.