Bug 140571 - Hide Formula NOT compatible with FORMULA function name
Summary: Hide Formula NOT compatible with FORMULA function name
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
3.3.0 release
Hardware: All All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Cell-Sheet-Protection
  Show dependency treegraph
 
Reported: 2021-02-20 23:46 UTC by Philippe
Modified: 2023-05-16 16:15 UTC (History)
2 users (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 Philippe 2021-02-20 23:46:44 UTC
Description:
When I check 'Hide formula' in the 'Cell Protection' tab of a formula cell and select 'Protect Sheet' from the 'Tools' menu Then using the FORMULA function name with reference to the formula cell (in a new sheet to the spreadsheet file) will display the formula as a text string.

Steps to Reproduce:
1. Check 'Hide formula' in the 'Cell Protection' tab of any formula cell
2. Select 'Protect Sheet' from the 'Tools' menu
3. Call the FORMULA function name with reference to the formula cell above (in a new sheet to the spreadsheet file)
4

Actual Results:
FORMULA function name displays the formula of the formula cell as a text string.

Expected Results:
The cell protection ('hide formula') should prevent the FORMULA function name from displaying the content of the formula cell.


Reproducible: Always


User Profile Reset: No



Additional Info:
Version: 7.1.0.3 (x64) / LibreOffice Community
Build ID: f6099ecf3d29644b5008cc8f48f42f4a40986e4c
CPU threads: 2; OS: Windows 6.1 Service Pack 1 Build 7601; UI render: Skia/Raster; VCL: win
Locale: fr-FR (fr_FR); UI: fr-FR
Calc: CL
Comment 1 BogdanB 2023-05-10 18:45:36 UTC
Philippe, you can not confirm your own bug. 
Someone else has to confirm it. Please wait.
Comment 2 Buovjaga 2023-05-16 16:15:59 UTC
Reproduced and I see the reasoning, when it is otherwise hidden.

Arch Linux 64-bit, X11
Version: 7.6.0.0.alpha1+ (X86_64) / LibreOffice Community
Build ID: 41d96a72fc0e0a9fa35b6ac88a389473f8baedaf
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 16 May 2023