Bug 101244 - doc(x) protected areas – Cursor cannot be disabled
Summary: doc(x) protected areas – Cursor cannot be disabled
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
(earliest affected) release
Hardware: All All
: medium normal
Assignee: Not Assigned
Keywords: filter:doc, filter:docx
Depends on:
Blocks: DOCX-Doc-Protection DOC-Doc-Protection
  Show dependency treegraph
Reported: 2016-08-01 08:34 UTC by Martin Nathansen
Modified: 2023-06-07 15:32 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:

docx form with a protected area (18.08 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2016-08-01 08:34 UTC, Martin Nathansen

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Nathansen 2016-08-01 08:34:31 UTC
Created attachment 126508 [details]
docx form with a protected area

Problem description:
In imported MS Word documents the option to disable the cursor in protected areas does not work: The user is able to click into protected areas even when the option “Enable cursor” is not set.

Steps to reproduce:
1. Open a MS Word document *.doc or *.docx with protected areas.
2. Make sure the “Enable cursors” option is not set: Tools → Options → LibreOffice Writer→ Formatting Aids → Protected Areas: Enable cursor
3. Try to click into the protected area and respectively put the cursor there.

Current behavior:
The user is able to click into the protected area even when the “enable cursor” option is not set.

Expected behavior:
The user should not be able to click into protected areas (as with protected areas in *.odt documents) when the cursor is disabled.

in function SwCursorShell::HasReadonlySel   IsReadOnlyAvailable() is "false" but should be "true"
Comment 1 Buovjaga 2016-08-07 12:31:38 UTC

Arch Linux 64-bit, KDE Plasma 5
Build ID: f3d26af51588af441f62fb69bb7a5432845226ac
CPU Threads: 8; OS Version: Linux 4.6; UI Render: default; 
Locale: fi-FI (fi_FI.UTF-8); Calc: group
Built on August 5th 2016

Arch Linux 64-bit
Version (Build ID: e183d5b)
Comment 2 Telesto 2016-11-26 19:03:34 UTC
*** Bug 66397 has been marked as a duplicate of this bug. ***
Comment 3 Serge Krot (CIB) 2017-10-18 12:10:37 UTC
In Bug 66397 only loading and saving of restricted areas were done. But there is not any possibilities to manage these areas inside Writer right now, while it requires additional standard object to be implemented - "Permission", like it was done for bookmarks.

Bug 66397 is related to Bug 101244, but not a duplicate.
Comment 4 QA Administrators 2021-01-14 04:06:35 UTC Comment hidden (obsolete, spam)
Comment 5 QA Administrators 2023-01-15 03:23:13 UTC Comment hidden (obsolete, spam)
Comment 6 Piotr 2023-06-04 18:33:00 UTC
I checked, in the attached document after turning off the enable cursor option, I can't click on lines 1 and 2, but in 3 I can. My version I tested with:

Version: (x86) / LibreOffice Community
Build ID: 1c98c88a1208f47327ac2f3beaf593521ce9b394
CPU threads: 12; OS: Windows 10.0 Build 19045; UI render: Skia/Vulkan; VCL: win
Locale: pl-PL (pl_PL); UI: en-US
Calc: CL threaded
Comment 7 Buovjaga 2023-06-07 15:32:58 UTC
It's true, I compared with 5.3 and in that the cursor was visible in all the lines. Let's close.

Arch Linux 64-bit, X11
Version: (X86_64) / LibreOffice Community
Build ID: 756254beedf2220a7602c81059ae1d70589072ac
CPU threads: 8; OS: Linux 6.3; UI render: default; VCL: kf5 (cairo+xcb)
Locale: fi-FI (fi_FI.UTF-8); UI: en-US
Calc: threaded
Built on 7 June 2023