https://bugs.documentfoundation.org/show_bug.cgi?id=138168

            Bug ID: 138168
           Summary: Programmatically setting/removing sheets protection
                    doesn't change the sheets icons
           Product: LibreOffice
           Version: 6.4.6.2 release
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Calc
          Assignee: [email protected]
          Reporter: [email protected]

Description:
When a (Basic) macro sets a sheet protection, the sheet lock icon is not
updated (removed or added)

Steps to Reproduce:
1. Open the attached spreadsheet (accept macro execution)
The Sheet3 is currently protected. A lock icon is displayed in the tab.
2. In the Welcome sheet, click the "Unprotect" button
3. Enter the current password (test)
4. A message says that Sheet3 was unprotected.


Actual Results:
The lock icon remains in the tab after the sheet has been unlocked.

Expected Results:
The lock icon should be removed from the tab after the sheet has been unlocked.


Reproducible: Always


User Profile Reset: No



Additional Info:
Same bug also backwards: click the "Protect" button and set a password.
The icon is not displayed if the protection was not present beforehand.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to