<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_UNCONFIRMED "
   title="UNCONFIRMED - Lock icon does not appear on newly protected sheets in a new window"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=141611">141611</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Lock icon does not appear on newly protected sheets in a new window
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>LibreOffice
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>7.1.2.2 release
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>x86-64 (AMD64)
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux (All)
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>UNCONFIRMED
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Calc
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>libreoffice-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>smilingfrog@shaw.ca
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Description:
In a new spreadsheet, with 2 windows displaying the same sheet, if sheets are
locked on one window, the lock icon does not appear on the sheets of the second
window, despite them being locked.

Steps to Reproduce:
1. Open an new spreadsheet
2. Open a second window
3. Add new sheets (will appear in both windows)
4. On the first sheet, protect the first sheet. A lock icon appears.
5. Trying to edit the first sheet in the second window yields a 'Protected
cells can not be modified' error, but no lock icon appears next to the sheet

Actual Results:
Sheet is locked, but no icon appears on the second window.
The icon does appear if another sheet is added or removed after being locked.

Expected Results:
A lock icon should appear on the windows open for the same file.


Reproducible: Always


User Profile Reset: Yes



Additional Info:
Version: 7.1.2.2 / LibreOffice Community
Build ID: 8a45595d069ef5570103caea1b71cc9d82b2aae4
CPU threads: 4; OS: Linux 5.4; UI render: default; VCL: gtk3
Locale: en-CA (en_CA.UTF-8); UI: en-US
Calc: threaded</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>