[Libreoffice-bugs] [Bug 138168] New: Programmatically setting/removing sheets protection doesn't change the sheets icons

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Thu Nov 12 18:22:16 UTC 2020


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: libreoffice-bugs at lists.freedesktop.org
          Reporter: jean-francois.nifenecker at laposte.net

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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20201112/739e6794/attachment.htm>


More information about the Libreoffice-bugs mailing list