Bug 134920 - MS Office feature "Allow Users Edit Ranges" not work for LibreOffice
Summary: MS Office feature "Allow Users Edit Ranges" not work for LibreOffice
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
6.4.5.2 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: XLSX-Doc-Protection
  Show dependency treegraph
 
Reported: 2020-07-18 04:59 UTC by Paul Tey
Modified: 2024-04-18 18:53 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Excel file B3 set allow users edit ranges (9.98 KB, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet)
2020-07-18 05:00 UTC, Paul Tey
Details
Cell D4 allow users edit ranges (9.97 KB, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet)
2020-07-18 05:04 UTC, Paul Tey
Details
Excel pop up password insert box for check (321.51 KB, image/jpeg)
2020-07-18 05:07 UTC, Paul Tey
Details
LibreOffice Calc show protected cells cannot modified (328.78 KB, image/jpeg)
2020-07-18 05:08 UTC, Paul Tey
Details
Sample XLSX (20.58 KB, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet)
2024-04-18 09:31 UTC, Timur
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Paul Tey 2020-07-18 04:59:19 UTC
Description:
MS Office got a feature "Allow Users Edit Ranges" started 2016 version, this feature let user can edit specific cells in protected sheet by key in correct password. But when we open file with this feature in LibreOffice and the specific cells which show pop u ask password become show protected cell cannot modified

Steps to Reproduce:
1. Create a excel file with MS Excel and use "Allow Users Edit Ranges" feature and save
2. Open file with LibreOffice Calc and try to edit protected cells with "Allow Users Edit Ranges" feature
3. LibreOffice Calc pop up message box show protected cells cannot modified

Actual Results:
LibreOffice Calc pop up message box show protected cells cannot modified

Expected Results:
LibreOffice Calc pop up message box request user key in password then allow modification to cells when password correct


Reproducible: Always


User Profile Reset: Yes



Additional Info:
Version: 6.4.5.2 (x64)
Build ID: a726b36747cf2001e06b58ad5db1aa3a9a1872d6
CPU threads: 12; OS: Windows 10.0 Build 19041; UI render: GL; VCL: win; 
Locale: en-MY (en_MY); UI-Language: en-GB
Calc: threaded
Comment 1 Paul Tey 2020-07-18 05:00:13 UTC Comment hidden (obsolete)
Comment 2 Paul Tey 2020-07-18 05:02:12 UTC Comment hidden (obsolete)
Comment 3 Paul Tey 2020-07-18 05:04:18 UTC
Created attachment 163223 [details]
Cell D4 allow users edit ranges

Cell D4 allow users edit ranges
Comment 4 Paul Tey 2020-07-18 05:07:47 UTC
Created attachment 163224 [details]
Excel pop up password insert box for check

Excel pop up password insert box for check
Comment 5 Paul Tey 2020-07-18 05:08:13 UTC
Created attachment 163225 [details]
LibreOffice Calc show protected cells cannot modified

LibreOffice Calc show protected cells cannot modified
Comment 6 Timur 2020-07-30 17:42:23 UTC
I set New. 
You forgot to write password for D4 and for the sheet.
Comment 7 Timur 2021-07-21 11:46:49 UTC
Calc not only doesn't read XLSX option "Allow Users to Edit Ranges"  with password, but it has no similar feature, which should be created first. 
OTOH, XLSX with the option but with no password can have cells edited in LO. Cell Protection status is still shown as Protected.
Comment 8 QA Administrators 2023-07-22 03:18:01 UTC Comment hidden (obsolete)
Comment 9 Timur 2024-04-18 09:31:10 UTC
Created attachment 193742 [details]
Sample XLSX

Attached sample did not write pass, so I remove it and add another sample from MSO that has 2 ranges, with and without password.

In addition to previous, LO saved XLSX retains protected ranges and they are properly seein in MSO.