Bug 113315 - Empty line in front of a TOC cannot be deleted
Summary: Empty line in front of a TOC cannot be deleted
Status: RESOLVED NOTABUG
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
5.4.2.2 release
Hardware: All Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-10-21 01:49 UTC by Frank Brütting
Modified: 2017-10-21 13:08 UTC (History)
1 user (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 Frank Brütting 2017-10-21 01:49:54 UTC
Description:
You cannot delete an empty line in front of a TOC.

Steps to Reproduce:
1. Create a new file and press <Return> for creating a second line.
2. Insert a TOC.
3. Go back to the first (empty) line and press <Del> ⇒ Nothing happens.

Actual Results:  
You cannot delete the empty line.

Expected Results:
Deletion of the empty line should be possible. Because if you insert the TOC in line 1 instead (without creating a second line), you achieve the wanted behaviour.


Reproducible: Always

User Profile Reset: No

Additional Info:


User-Agent: Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:57.0) Gecko/20100101 Firefox/57.0
Comment 1 Dieter 2017-10-21 08:21:06 UTC
If you open the TOC editor and disable "Protected against manual changes" you can delete the first line => for me NOTABUG
Comment 2 Frank Brütting 2017-10-21 13:08:28 UTC
But the empty line is no part of the TOC and the TOC doesn’t get altered at all…?!

Instead a completely separate, empty line in front of the TOC get’s changed. So why do I need to “edit“ the TOC if I want to edit not the TOC but the line in front of it?

In my opinion, you need to exclude the “object“ in front of the TOC from the TOC – because this isn’t the TOC!