Bug 101244 - doc(x) protected areas – Cursor cannot be disabled
Summary: doc(x) protected areas – Cursor cannot be disabled
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
3.6.7.2 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
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:


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

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.

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

Arch Linux 64-bit, KDE Plasma 5
Version: 5.3.0.0.alpha0+
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 3.6.7.2 (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: 7.6.0.0.alpha1+ (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: 7.6.0.0.alpha1+ (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