Bug 78394 - EDITING: Remove warning when deleting an empty header or footer
Summary: EDITING: Remove warning when deleting an empty header or footer
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
3.3.0 release
Hardware: Other All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard: BSA
Keywords:
Depends on:
Blocks:
 
Reported: 2014-05-07 14:08 UTC by Samuel Atkins
Modified: 2014-05-07 18:10 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 Samuel Atkins 2014-05-07 14:08:54 UTC
Problem description:
Removing an empty header or footer from the document creates a warning about deleting text. This warning is confusing as no text will be deleted.

Steps to reproduce:
1. Click near the top of the page so the 'Header (Default style)' button appears
2. Click it to add the header, but do not add any text into the header
3. Click it again to open the menu, and select 'delete header'

Current behavior:
A warning dialog appears, with the text "Removing headers or footers deletes the contents.
Do you want to delete this text?"

Expected behavior:
If the header/footer being deleted is empty, do not display a warning about it.
              
Operating System: All
Version: 4.1.4.2 release
Comment 1 Cor Nouws 2014-05-07 18:10:33 UTC
Thanks for the report Samuel. IMO a useful improvement.
Set to New