[Libreoffice-bugs] [Bug 124451] New: 'Protect form' compatibility setting doesn't prevent editing in some cases

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Sat Mar 30 23:51:33 UTC 2019


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

            Bug ID: 124451
           Summary: 'Protect form' compatibility setting doesn't prevent
                    editing in some cases
           Product: LibreOffice
           Version: 6.3.0.0.alpha0+ Master
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Keywords: bibisected, bisected, regression
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: baron at caesar.elte.hu
                CC: serge.krot at cib.de
            Blocks: 120763

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 bug 123912 comment 2, but it should become protected
right away.

2.
- Open attachment 149778 from bug 123912, 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.

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

sw: DOCX: allow editing of unprotected areas in protected doc


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=120763
[Bug 120763] [META] DOCX (OOXML) document protection-related issues/enhancement
-- 
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/20190330/9f3af151/attachment.html>


More information about the Libreoffice-bugs mailing list