Bug 71500 - EDITING: Table of Contents is Deleted Unintentionally
Summary: EDITING: Table of Contents is Deleted Unintentionally
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: Other All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard: BSA
Keywords:
Depends on:
Blocks: TableofContents-Indexes
  Show dependency treegraph
 
Reported: 2013-11-11 15:23 UTC by Harald Koester
Modified: 2018-01-06 22:14 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Harald Koester 2013-11-11 15:23:37 UTC
Problem description: 

Steps to reproduce:
[1] Open a new text document.
[2] Disable option “LibreOffice Writer → Formatting Aids → Cursor in protected areas“.
[3] Type in a word, then Enter.
[4] Insert a heading.
[5] Insert a protected (against manual changes) table of contents between the 2 paragraphs.
[6] Delete word in paragraph above table. 
[7] Delete empty paragraph in first line with “Del“. The empty paragraph and the table of contents is deleted. Expected: Only paragraph should be deleted.

Hint: I assume that the behaviour is equal with other indexes or tables which can be protected against manual changes, but I did not check it.

Operating System: Windows 7
Version: 4.1.2.3 release
Comment 1 sophie 2013-11-12 10:58:41 UTC
Confirmed, the index is deleted. Version: 4.1.3.2
Build ID: 70feb7d99726f064edab4605a8ab840c50ec57a. Set as New, change plateform to all - Sophie
Comment 2 QA Administrators 2015-04-19 03:22:21 UTC Comment hidden (obsolete)
Comment 3 Geoffrey 2015-04-19 08:10:40 UTC
Actually, it's easy to understand :) Tested using LibreOffice 4.4.1.

You can remove the empty line between the word and the table of contents with del (on the line of the word).
You can remove the empty line with backspace (on the empty line)

You cannot remove the empty line with del on the empty line. If you do that, the table of contents is removed too.
Comment 4 QA Administrators 2016-09-20 09:24:51 UTC Comment hidden (obsolete)
Comment 5 Harald Koester 2018-01-06 22:13:13 UTC
Bug still exists in version 5.4.4 (64 bit, Win 10).
Comment 6 Harald Koester 2018-01-06 22:14:38 UTC
Bug already exists in version 3.3.0. Hence inherited from OOo.