<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 - 'Protect form' compatibility setting doesn't prevent editing in some cases"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=124451">124451</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>'Protect form' compatibility setting doesn't prevent editing in some cases
          </td>
        </tr>

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

        <tr>
          <th>Version</th>
          <td>6.3.0.0.alpha0+ Master
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

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

        <tr>
          <th>Keywords</th>
          <td>bibisected, bisected, regression
          </td>
        </tr>

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

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

        <tr>
          <th>Component</th>
          <td>Writer
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>baron@caesar.elte.hu
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>serge.krot@cib.de
          </td>
        </tr>

        <tr>
          <th>Blocks</th>
          <td>120763
          </td>
        </tr></table>
      <p>
        <div>
        <pre>These are actually two somewhat different regressions originating from the same
commit. I'm reporting both here, but can split one off if it's more feasible.

1.
- Type some text in an empty document.
- Enable 'Protect form' Writer compatibility setting.
- Try typing some more text in the document.

=> Typing is possible. The document should be protected and uneditable (apart
from filling in forms).
After saving it in DOC(X) format, and reloading it, the document is protected
since the fresh fix to <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - DOCX Text in protected form created in Writer is editable in Word"
   href="show_bug.cgi?id=123912#c2">bug 123912 comment 2</a>, but it should become protected
right away.

2.
- Open <span class=""><a href="http://bugs.documentfoundation.org/attachment.cgi?id=149778" name="attach_149778" title="Sample DOCX">attachment 149778</a> <a href="http://bugs.documentfoundation.org/attachment.cgi?id=149778&action=edit" title="Sample DOCX">[details]</a></span> from <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - DOCX Text in protected form created in Writer is editable in Word"
   href="show_bug.cgi?id=123912">bug 123912</a>, which contains a single drop-down
form field, and is form-protected.
- Position cursor before the dropdown, and press Enter to insert a line break.
- Move the cursor up, and start typing.

=> This specific typing is possible, while no typing should be possible.

Both of these regressions were introduced by the following commit. Adding Cc:
to Serge Krot, please take a look.

<a href="https://cgit.freedesktop.org/libreoffice/core/commit/?id=0898595532d1e3f498c259b6dfee462249b00667">https://cgit.freedesktop.org/libreoffice/core/commit/?id=0898595532d1e3f498c259b6dfee462249b00667</a>
author          Serge Krot <<a href="mailto:Serge.Krot@cib.de">Serge.Krot@cib.de</a>>  2018-12-17 17:07:23 +0100
committer       Thorsten Behrens <<a href="mailto:Thorsten.Behrens@CIB.de">Thorsten.Behrens@CIB.de</a>>      2018-12-20
15:16:34 +0100

sw: DOCX: allow editing of unprotected areas in protected doc</pre>
        </div>
      </p>

        <div id="referenced">
          <hr style="border: 1px dashed #969696">
          <b>Referenced Bugs:</b>
          <ul>
              <li>
                [<a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [META] DOCX (OOXML) document protection-related issues/enhancement"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=120763">Bug 120763</a>] [META] DOCX (OOXML) document protection-related issues/enhancement
              </li>
          </ul>
        </div>
        <br>

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

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