Bug 161374 - 24.2.3 freezes with document linked to other odt and ods.
Summary: 24.2.3 freezes with document linked to other odt and ods.
Status: UNCONFIRMED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
24.2.0.3 release
Hardware: x86-64 (AMD64) Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-06-01 10:43 UTC by Eduardo Martínez
Modified: 2024-06-07 12:02 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
File with sections, one of them with a table. (12.38 KB, application/vnd.oasis.opendocument.text)
2024-06-07 12:01 UTC, Eduardo Martínez
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Eduardo Martínez 2024-06-01 10:43:37 UTC
Description:
In complex .odt documents (with multiple sections linked to multiple odt documents) with references to .ods spreadsheet cells, version 24.2. it freezes, however in 7.6 it worked perfectly... what could have happened?

Actual Results:
File created with 7.6 can't be opened

Expected Results:
Run as below versions


Reproducible: Always


User Profile Reset: No

Additional Info:
File created with LO 7 was unusable with LO24, I downgrade and opened again without problems
Comment 1 m_a_riosv 2024-06-02 08:28:22 UTC
Please test in safe mode, Menu/Help/Restart in Safe Mode
Comment 2 Eduardo Martínez 2024-06-06 13:25:31 UTC
I've tried in safe mode (at LO 24.2.4) but without success... it freezes until is closed
Comment 3 m_a_riosv 2024-06-06 18:30:12 UTC
Are the files in the same location or in a net path?
Comment 4 Eduardo Martínez 2024-06-06 18:39:08 UTC
Yes, all files are in the same path.

I'm rebuilding the file and there seems to be some differences in section management and DDE links to .ods. By removing all links (passing the file through MS-Word, which deletes them) it can be opened at LO 24.2. But by hiding sections, the links within them take up several pages.

It seems that the new version has changed how it works with sections and links in them and is not capable of managing them as in the previous ones.
Comment 5 m_a_riosv 2024-06-06 22:15:25 UTC
Please attach a sample files, reduce the size as much as possible without private information, and paste the information in Menu/Help/About LibreOffice, there is a copy icon.
Comment 6 Eduardo Martínez 2024-06-07 12:01:37 UTC
Created attachment 194584 [details]
File with sections, one of them with a table.
Comment 7 Eduardo Martínez 2024-06-07 12:02:06 UTC
Working on the problem, I have observed that when a section that contains tables is hidden, as many pages are inserted in the document as there are rows in the hidden table.... It is possible that this causes that when opening a document with many hidden sections, some of them with tables, LO may not be able to open it correctly (possibly trying to insert all the "newly created" pages).
Ideally, if a section is hidden, it will not be displayed in any case and, if possible, the numbering of the titles found within the hidden section will not be counted either. Until now, I have solved it by moving those titles to the end of the title on which they depend, so, since they are not reflected in the index, it does not affect the numbering of the rest of the titles in the document. But with LO 23, pages would be inserted at the end, as many as there are rows in the hidden tables.
Obviously, inserting as many pages as rows is an error in the interpretation of the XML that defines the .odt file.