Description: LibreOffice: 7.3.5 Apple iMac: MacOS Monterey 12.5 I downloaded LibreOffice 7.3.5 to try out. Played around a while, seemed fine. I loaded a 50k DOCX file (created with MAC MS Word 2016) and made changes. Saved File. Reloaded, all good. Made more changes, Saved. Exited. Later, when I tried to open, it said (instantly): “my_file.docx” is damaged and can’t be opened. You should move it to the Trash. So, I went to a backup (lost my changes) and tried to recreate the issue, but could not. So, more editing and multiple saves, exited, corrupted again. So, deciding to create a Bug Report, I tried to recreate the issue for the report, no dice. Everything works fine. I noticed that the 50k file, was saved as a 40k file. Just on a whim, I renamed the file to my_file.doc. Now both Word and LibreOffice load the previously corrupted file, with no issues. Steps to Reproduce: 1. LibreOffice 7.3.5 2. Open My_File.docx 3. Make changes to the file 4. Save changes 5. Repeat 3-4 a few times. 6. Exit LibreOffice 7. Double Click the DOCX file 8. Corrupt message occurs Actual Results: “my_file.docx” is damaged and can’t be opened. You should move it to the Trash. Expected Results: Open/Edit File. Reproducible: Sometimes User Profile Reset: No Additional Info: It appears that the DOCX decompression occurs before Word or LibreOffice is opened (since it occurs so quickly after double-click file. It fails, so it never loads the editor (word or LibreOffice). Once the issue occurs, both Word and LibreOffice see the exact same issue. Renaming the file to *.doc allows the file to load correctly.
Paul, thank you for reporting the bug. Please attach the file My_File.docx. Thank you. (Please note that the attachment will be public, remove any sensitive information before attaching it) => NEEDINFO
Created attachment 182156 [details] DOCX files, corrupted when saved
[Automated Action] NeedInfo-To-Unconfirmed
Could not reproduce on: Version: 7.4.0.3 (x64) / LibreOffice Community (The latest version of LO) Build ID: f85e47c08ddd19c015c0114a68350214f7066f5a CPU threads: 12; OS: Windows 10.0 Build 19043; UI render: Skia/Vulkan; VCL: win Locale: en-US (en_US); UI: en-US Calc: CL Nor on: Version: 7.5.0.0.alpha0+ (x64) / LibreOffice Community Build ID: aea89831f93b501738e62db9787a1085fd483193 CPU threads: 12; OS: Windows 10.0 Build 19043; UI render: Skia/Vulkan; VCL: win Locale: en-US (en_US); UI: en-US Calc: CL threaded
(In reply to Ginge from comment #4) > Could not reproduce on: Ginge, thank you for testing, but please only change status to RESOLVED WORKSFORME, if you could reproduce it in an older version. So back to UNCONFIRMED. I also can't confirm with Version: 7.4.0.3 (x64) / LibreOffice Community Build ID: f85e47c08ddd19c015c0114a68350214f7066f5a CPU threads: 4; OS: Windows 10.0 Build 19044; UI render: Skia/Raster; VCL: win Locale: de-DE (de_DE); UI: en-GB Calc: CL Paul, could you please retest with LO 7.4 and a clean user profile. Might also be unseful to specify step 3 => NEEDINFO
Thanks for looking at this, guys (and gals). I know you know this... but remember, this is a MAC and the decompression step appears to be a "pre" step to starting Word/Libre Office to open the document. I am a Software Developer, retired from Dell after 25 years. I consider my troubleshooting and debugging skills to be above average to excellent (but I have been retired for 2 years). I just spent over an hour "trying" to create the issue, but everything worked fine. I even started with a copy of the document (from a Time Machine backup, a half hour earlier) that preceded the corruption. NO DICE! The issue has happened twice. In both cases, I was not doing anything unusual, basically this DOCX is just a bunch of notes about a new RC Transmitter I bought. The issue happened when I edited the document, followed by save and exit. Then, I could not open the document, with Word or Libre Office, as the decompression step would fail, before the app was started. Because I don't not know what set of actions cause the issue, I have not been able to recreate the issue, when actually trying to create it. To work around the issue, I just changed to DOC files. I will play some more. I will try to use various menu functionality to see if there is anything there. Paul Maia
Mount (or unzip) the DOCX file to see if it really is DOCX (xml files) or DOC (binary).
Version: 7.4.0.0.alpha0+ / LibreOffice Community Build ID: 465c3ad95059f0efa13c8027f7383c4d20a5b2ff CPU threads: 2; OS: Linux 5.4; UI render: default; VCL: gtk3 Locale: en-IN (en_IN); UI: en-US Calc: threaded NO REPRODUES
As there are no steps to reproduce, I guess we should close.