Bug 160419 - Extraneous text inserted in TOC
Summary: Extraneous text inserted in TOC
Status: RESOLVED NOTABUG
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.6.5.2 release
Hardware: All Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-03-29 17:38 UTC by Dave Nadler
Modified: 2024-03-30 09:15 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Document showing TOC bug (83.67 KB, application/vnd.oasis.opendocument.text)
2024-03-29 17:39 UTC, Dave Nadler
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dave Nadler 2024-03-29 17:38:34 UTC
Description:
Table of Contents has unexpected text following a TOC entry.

Steps to Reproduce:
1. Observe incorrect text in TOC
2. Update TOC and observe it is still wrong


Actual Results:
TOC with garbage

Expected Results:
TOC without garbage


Reproducible: Always


User Profile Reset: Yes

Additional Info:
Should be trivial to reproduce...
Comment 1 Dave Nadler 2024-03-29 17:39:12 UTC
Created attachment 193391 [details]
Document showing TOC bug
Comment 2 m_a_riosv 2024-03-29 19:25:02 UTC
To the paragraph 'Clock: Actual period 12.5us, frequency 80kHz.' with the paragraph format 'Default ...' you have assigned level 2 and that is why it appears in the table of contents.

There is a chapter 15 in the LibreOffice guide dedicated to tables of contents and indexes.
https://documentation.libreoffice.org/assets/Uploads/Documentation/en/WG7.6/WG76-WriterGuide.pdf

The discussion forum ask.libreoffice.org has many posts on this topic.
Comment 3 Dave Nadler 2024-03-29 21:11:05 UTC
You're right - no idea how that paragraph was formatted thus.

The fact its hard to see in UI is precisely why there are so many discussions about this!

Thanks!
Comment 4 m_a_riosv 2024-03-30 09:15:18 UTC
You can see a lot in the sidebar with the 'Style inspector', for me the third button from the bottom.