Public bug reported: I've got a 20,129 word (122.5 kB) ODT with a number of headings and a table of contents. I've got a heading (the last heading in the document) which was Heading 1 (style), I think, but is now Heading 2. The table of contents indicates that it is Heading 1 (hence I think it was probably originally Heading 1), I make it Heading 2 and update the table of contents and the content under the heading, as well as the heading itself, disappears, despite the heading still being on the table of contents.
I then tried changing the heading to Heading 1 and updating the index to see what would happen, and it becomes clear that the text is being cut off from the document, not that it's actually gone (the word count only seems to change by 2 each time this happens). I can't post the file since it's possible it would cause a false positive, as it were, with plagiarism software, and it has a lot of copyrighted text, but I've posted screencasts demonstrating the issue. Workaround: Save the file and re-open, the text that was cut off will now be visible again (even with the table of contents update)! ``` $ snap info libreoffice tracking: edge refresh-date: 3 days ago, at 22:19 BST channels: stable: 6.2.2.2 2019-03-28 (112) 548MB - candidate: 6.2.3.1 2019-04-02 (113) 545MB - beta: ↑ edge: ↑ installed: 6.2.3.1 (113) 545MB - $ snap version snap 2.38+git1224.5ec5133~ubuntu16.04.1 snapd 2.38+git1224.5ec5133~ubuntu16.04.1 series 16 ubuntu 18.10 kernel 4.18.0-17-generic $ snap info core tracking: edge refresh-date: today at 12:10 BST channels: stable: 16-2.38 2019-03-28 (6673) 93MB - candidate: 16-2.38 2019-03-22 (6673) 93MB - beta: 16-2.38 2019-03-21 (6673) 93MB - edge: 16-2.38+git1224.5ec5133 2019-04-05 (6764) 92MB - installed: 16-2.38+git1224.5ec5133 (6764) 92MB core ``` ** Affects: libreoffice (Ubuntu) Importance: Undecided Status: New ** Tags: cosmic snap ** Attachment added: "Heading 2 update bug" https://bugs.launchpad.net/bugs/1823322/+attachment/5253051/+files/Screencast%20from%2005-04-19%2012%3A38%3A13.webm -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1823322 Title: Changing Heading 1 to Heading 2 and then updating table of contents cuts of the whole Heading 2 section To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/1823322/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs