Description: When I open an old odg document (stored 2020), LibreOffice hangs. When I open a document I stored recently with a not too old version, it works. Steps to Reproduce: 1. Open old odg document (created 2020) Actual Results: LibreOffice hangs (window freezes) Expected Results: LibreOffice opens the documuments. Reproducible: Always User Profile Reset: Yes Additional Info: Same happens with latest 7.2.6 release. I also have seen that error with a write document.
Created attachment 179629 [details] Screenshot when LibreOffice hangs.
Created attachment 179630 [details] meta data of the odg document (inside odg archive) This file seems to contain info about the LibreOffice version used to create the document. It seems it was LibreOffice/6.4.1.2 Windows_X86_64.
I think I found the reason of the hang/freeze. Within the odg document there are sub-documents, e.g. settings.xml. In settings.xml there are printer settings. When I saved the document I used a printer that was connected over network two years ago. But that printer does not exist anymore when I now open the document. After manually removing the printer settings from the settings.xml I could open the odg file again. I removed from settings.xml: <config:config-item config:name="PrinterName" config:type="string">\\mycomputer\HP-LaserJet-1020</config:config-item> So please consider how to handle such printer settings. I think it is not acceptable that old outdated printer settings make it impossible to open old documents! Perhaps at least in "Failsafe mode" it makes sense to skip such error prone settings? I tried with various LibreOffice versions, but with all of them the orginal document could not be opened: 6.4.1.2 (the version the document was created with) 6.4.7.2 (the latest 6.x version) 7.1.8.1 (the latest 7.1.x version) 7.2.6 (the latest 7.2.x version) 7.3.2 (the latest version) I have seen similar behavior also for Write documents, therefore I am quite sure it affects all the document types. Therefore I changed the affected component to "LibreOffice".
See https://bugs.documentfoundation.org/show_bug.cgi?id=42673#c44 for a workaround. *** This bug has been marked as a duplicate of bug 42673 ***