Bug 127355 - Write-protected section in header can be easily removed
Summary: Write-protected section in header can be easily removed
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
(earliest affected)
Inherited From OOo
Hardware: All All
: medium normal
Assignee: Not Assigned
Depends on:
Blocks: Section
  Show dependency treegraph
Reported: 2019-09-05 08:11 UTC by Orwel
Modified: 2021-01-28 09:55 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:
Regression By:


Note You need to log in before you can comment on or make changes to this bug.
Description Orwel 2019-09-05 08:11:18 UTC
If you insert some text in the header of Writer document and write-protect it with password, it can be easily removed by deleting the header, what it think is not a correct behaviour.

Steps to Reproduce:
1. Write some text in a header
2. Mark the text as a write-protected Section (Menu/Insert/Section)
3. Delete the header.

Reproduce the same steps, but not in header. You can not remove the Section.

Actual Results:
The Section will be deleted.

Expected Results:
Writer should ask for the password before deleting the header.

Reproducible: Always

User Profile Reset: No

OpenGL enabled: Yes

Additional Info:
I do not know which version of LO was affected as the earliest one.

Version: (x64)
Build ID: 684e730861356e74889dfe6dbddd3562aae2e6ad
CPU threads: 8; OS: Windows 10.0; UI render: default; VCL: win; 
Locale: sk-SK (sk_SK); UI-Language: en-GB
Calc: threaded
Comment 1 Roman Kuznetsov 2019-09-05 19:20:09 UTC
Confirm deleting of section when it's in the header of document.

ID сборки: 2bed8af91fc2654b9ed2432f969d32d5741a529b
Потоков ЦП: 4; ОС:Linux 5.2; Отрисовка ИП: по умолчанию; VCL: gtk3; 
TinderBox: Linux-rpm_deb-x86_64@86-TDF, Branch:master, Time: 2019-08-21_09:30:10
Локаль: ru-RU (ru_RU.UTF-8); Язык интерфейса: ru-RU
Calc: threaded
Comment 2 Xisco Faulí 2019-09-18 10:42:06 UTC
also reproduced in

Version (Build ID: efca6f15609322f62a35619619a6d5fe5c9bd5a)


LibreOffice 3.3.0 
OOO330m19 (Build:6)
tag libreoffice-
Comment 3 Orwel 2021-01-28 09:55:17 UTC
Bug still present in LO 7.0.4.
It does not matter if the protected section in header is password protected or nor, you can still delete the header by simple click...

The header is NOT PROTECTED from changes...