Bug 142576 - Add a lock symbol on the protected sheet tab when it is locked by BASIC Macros
Summary: Add a lock symbol on the protected sheet tab when it is locked by BASIC Macros
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: BASIC (show other bugs)
Version:
(earliest affected)
7.1.3.2 release
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-05-31 09:33 UTC by Nukool Chompuparn
Modified: 2021-06-07 12:59 UTC (History)
0 users

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 Nukool Chompuparn 2021-05-31 09:33:10 UTC
Description:
There is no lock symbol on the protected sheet tab when it is locked by BASIC Macros, but it will show when sheet tabs changes.

Steps to Reproduce:
1.Sub ProtectSheet1_
	ThisComponent.Sheets.getByName("Sheet1").Protect("")
	MsgBox "Sheet1 is protected."
End Sub
2.There is no lock symbol on the protected "sheet1" tab
3.Right click on "sheet1" tab, protect sheet box is ticked. 

Actual Results:
Sheet is locked, but there is no lock symbol on the protected sheet tab.

Expected Results:
Lock symbol on the protected sheet tab should be displayed.


Reproducible: Always


User Profile Reset: No



Additional Info:
It happened again when LibreOffice version changed.
Comment 1 Andreas Heinisch 2021-06-07 12:59:00 UTC
This was fixed and works in:
Version: 7.2.0.0.alpha1+ (x64) / LibreOffice Community
Build ID: ea1daffc097025c9969f76119d3864cbef203c34
CPU threads: 6; OS: Windows 10.0 Build 19042; UI render: Skia/Raster; VCL: win
Locale: de-DE (de_DE); UI: en-US
Calc: CL