Bug 109141 - Writer: Protected cell contents can be altered by drag&drop
Summary: Writer: Protected cell contents can be altered by drag&drop
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Writer-Tables
  Show dependency treegraph
 
Reported: 2017-07-16 01:22 UTC by librebel
Modified: 2023-08-28 07:06 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 librebel 2017-07-16 01:22:19 UTC
Version: 5.2.2.2
Build ID: 1:5.2.2-0ubuntu2.1
CPU Threads: 2; OS Version: Linux 4.8; UI Render: default; 
Locale: nl-NL (en_US.UTF-8); Calc: group


Steps to reproduce:

Writer:
1. Create a table in Writer, fill in some cells and select those cells, and then choose the menu "Table : Protect Cells".
2. Select some text inside the protected cell, drag the selection around, and drop it on the same cell or on another protected cell, then the content changes.

Calc:
In Calc the content of cells that are protected by "Tools : Protect Sheet...", can still be changed using this Drag&Drop technique, be it only within the same cell.


Also confirmed for Version V5.4.0.1RC here:
https://ask.libreoffice.org/en/question/110947/potential-security-threat-are-protected-cells-not-protected/
Comment 1 raal 2017-07-16 10:48:28 UTC Comment hidden (obsolete)
Comment 2 pavelz 2017-07-17 17:31:24 UTC
I can reproduce in Writer:

Version: 6.0.0.0.alpha0+
Build ID: cf0a9b9c7a988b74102bcdd38710fb9e80521081
CPU threads: 2; OS: Linux 4.11; UI render: default; VCL: gtk2; 
TinderBox: Linux-rpm_deb-x86_64@70-TDF, Branch:master, Time: 2017-07-17_13:35:14
Locale: cs-CZ (cs_CZ.UTF-8); Calc: group

But in Calc I cannot reproduce even in 5.2.7.2 (maybe I am missing something in the steps to reproduce).
Comment 3 Timur 2017-07-18 15:48:10 UTC
This bug is then for Writer. Separate bug may be submitted for Calc, should this one, once it's fixed, failed to resolve it. 
Looks like inherited. There are a number of protected cells bugs.
Comment 4 QA Administrators 2018-07-26 02:42:05 UTC Comment hidden (obsolete)
Comment 5 Timur 2018-07-26 07:41:08 UTC Comment hidden (obsolete)
Comment 6 QA Administrators 2019-07-30 03:15:24 UTC Comment hidden (obsolete)
Comment 7 Timur 2019-08-28 10:37:28 UTC
Repro 6.4+
Comment 8 QA Administrators 2021-08-28 03:52:53 UTC Comment hidden (obsolete)
Comment 9 Sophie Sipasseuth 2023-08-28 07:06:57 UTC
The bug is still present in this version of LibreOffice:

Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 2b0b4ddc8bd8fdd4cd689300620fe4621d7533b7
CPU threads: 4; OS: Windows 10.0 Build 19045; UI render: default; VCL: win
Locale: fr-FR (fr_FR); UI: fr-FR
Calc: CL threaded