Bug 94690 - EDIT - Large Master document fails to insert file properly
Summary: EDIT - Large Master document fails to insert file properly
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
5.0.2.2 release
Hardware: x86 (IA32) All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Writer-Master-Doc
  Show dependency treegraph
 
Reported: 2015-10-02 09:48 UTC by Bernard Moreton
Modified: 2025-05-08 03:10 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
zip file containing problem master and the sub-documents (735.13 KB, application/zip)
2015-10-06 08:39 UTC, Bernard Moreton
Details
Screenshot showing ch. 12 mixing with 11 weirdly (277.38 KB, image/jpeg)
2015-10-06 10:52 UTC, Buovjaga
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Bernard Moreton 2015-10-02 09:48:29 UTC

    
Comment 1 Bernard Moreton 2015-10-02 09:56:41 UTC
A master document builds satisfactorily for the first 10 chapter inserts (308 pages), but then fails to insert further chapters properly.

A first attempt inseerted ch.11 ok, but then failed on inserting ch.12, getting its first page repeatedly muddled with the text of ch.11.

Now, when I've deleted those two chapters, re-inserting ch11.odt brings in not the ch11.odt file, but the muddled text with bits of ch12 in it.  

So (a) there's a problem with import when the master document has got large, and (b) deleting clearly doesn't work properly.  Memory problem? - but any failure should be graceful, and the deletion should delete fully.

The problem document(s) will be too large for normal upload, I'm afraid.
Comment 2 Buovjaga 2015-10-05 18:29:39 UTC
How big would they be as zipped?
Would they fit here (<50M): http://tinyupload.com/
Or perhaps here: (<200M): http://zippyshare.com/
Comment 3 Bernard Moreton 2015-10-06 08:39:57 UTC
Created attachment 119332 [details]
zip file containing problem master and the sub-documents

Not as big as I thought, and the size limit more generous than I thought ...
Comment 4 Buovjaga 2015-10-06 10:52:17 UTC
Created attachment 119345 [details]
Screenshot showing ch. 12 mixing with 11 weirdly

Win 7 Pro 64-bit, Version: 5.0.2.2 (x64)
Build ID: 37b43f919e4de5eeaca9b9755ed688758a8251fe
Locale: fi-FI (fi_FI)
Comment 5 Buovjaga 2015-10-06 10:53:04 UTC
Reproduced. Added screenshot of the weird mixing/duplication of content.
Comment 6 QA Administrators 2016-11-08 11:09:34 UTC Comment hidden (obsolete)
Comment 7 Bernard Moreton 2016-11-10 11:14:04 UTC
A fresh creation of a master from the same sources in 5.2.3.2 on Ubuntu 16.04 LTS handled better than it did a year ago, inserting one more document than it did then, 
BUT the layout of subsequent sub-documents was mangled, with apparently random breaks between paragraphs and unwanted page breaks, though the text itself remained in the correct order.
Comment 8 Bernard Moreton 2018-04-02 14:18:46 UTC Comment hidden (obsolete)
Comment 9 Bernard Moreton 2018-04-02 15:29:41 UTC Comment hidden (obsolete)
Comment 10 QA Administrators 2019-04-03 02:57:25 UTC Comment hidden (obsolete)
Comment 11 Bernard Moreton 2019-04-23 13:21:01 UTC
Apologies for the delay in responding!

The bug is still present in LO 6.2.2, just as it was last time I confirmed.

Version: 6.2.2.2
Build ID: 1:6.2.2-0ubuntu0.18.04.1~lo1
CPU threads: 4; OS: Linux 4.15; UI render: default; VCL: gtk3; 
Locale: en-GB (en_GB.UTF-8); UI-Language: en-GB
Calc: threaded
Comment 12 QA Administrators 2021-04-23 04:00:52 UTC Comment hidden (obsolete)
Comment 13 Bernard Moreton 2021-05-05 09:02:13 UTC
The bug is still present.  Inserting ch_11.odt into the master document causes muddle, with parts of ch_12 reappearing as well.

I cannot copy-n-paste from About LibreOffice,  but I'll try to transcribe:
soffice --version:  LibreOffice 7.1.2.2 10(Build:2)
CPU threads: 4
Linux 5.4
UI render: default;  VCL: gtk3
en-GB.UTF-8
Ubuntu package version:
1:7.1.2_rc2-0ubuntu0.20.04.1~lo3
Calc: threaded
Comment 14 QA Administrators 2023-05-06 12:51:21 UTC Comment hidden (obsolete)
Comment 15 Bernard Moreton 2023-05-08 09:40:13 UTC
The bug is still present.  Inserting ch_11.odt into the master document causes muddle, with parts of ch_12 reappearing as well.

Version: 7.5.3.2 (X86_64) / LibreOffice Community
Build ID: 50(Build:2)
CPU threads: 4; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: en-GB (en_GB.UTF-8); UI: en-GB
Ubuntu package version: 4:7.5.3~rc2-0ubuntu0.22.04.1~lo1
Calc: threaded
Comment 16 Bernard Moreton 2023-05-08 14:14:03 UTC
The re-test earlier was done using the existing master document;  but if I create a new master document and load the chapters into it, delete a couple, then re-insert them, then I find no problems with confusion of text.

This probably means that the problem as originally reported might no longer be recorded as a live issue?  

BUT it remains true that the original master document still seems to be retaining text internally after deletion, and restoring using those internal values rather than loading from the source files as should be expected. On that basis the bug still exists ...
Comment 17 QA Administrators 2025-05-08 03:10:43 UTC
Dear Bernard Moreton,

To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year.

There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present.

If you have time, please do the following:

Test to see if the bug is still present with the latest version of LibreOffice from https://www.libreoffice.org/download/

If the bug is present, please leave a comment that includes the information from Help - About LibreOffice.
 
If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a comment that includes the information from Help - About LibreOffice.

Please DO NOT

Update the version field
Reply via email (please reply directly on the bug tracker)
Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not 
appropriate in this case)


If you want to do more to help you can test to see if your issue is a REGRESSION. To do so:
1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3) from https://downloadarchive.documentfoundation.org/libreoffice/old/

2. Test your bug
3. Leave a comment with your results.
4a. If the bug was present with 3.3 - set version to 'inherited from OOo';
4b. If the bug was not present in 3.3 - add 'regression' to keyword


Feel free to come ask questions or to say hello in our QA chat: https://web.libera.chat/?settings=#libreoffice-qa

Thank you for helping us make LibreOffice even better for everyone!

Warm Regards,
QA Team

MassPing-UntouchedBug