[Libreoffice-bugs] [Bug 123912] DOCX Text in protected form created in Writer is editable in Word

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Sat Mar 30 16:37:39 UTC 2019


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

Aron Budea <baron at caesar.elte.hu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Legacy form fields in DOCX  |DOCX Text in protected form
                   |become uneditable after     |created in Writer is
                   |roundtrip                   |editable in Word

--- Comment #5 from Aron Budea <baron at caesar.elte.hu> ---
(In reply to Justin L from comment #3)
> (In reply to Aron Budea from comment #0)
> > Save it in Writer and open in Word again, then switch to edit mode.
> I must be doing something wrong because I can "reproduce" this directly from
> the unaltered docprot.docx using Office 2013, 2010 and 2003.
> 1.) Open the original attachment and toggle the value in the dropdown.
Indeed, the issue has been fixed by bug 122456's fix, I missed that. To be
clear, the repro was just that the document simply saved in Writer, and opened
in Word, the selected value wasn't changeable (with the addition that in latter
Word versions, 2013 as you mention, first you had to switch to edit mode,
because protected documents open in read-only mode).

The fixing commit is bug 122456's:
https://git.libreoffice.org/core/+/f18300642c3e962d7c0c6d13daad1676b877b30b%5E%21

Let's repurpose this bug report for the issue mentioned in comment 2.

(In reply to Justin L from comment #4)
> (In reply to Aron Budea from comment #2)
> > Start an empty document, enter some text, enable 'Form protection' in Tools
> > -> Options..., LibreOffice Writer -> Compatibility, save it as DOCX, and
> > open the file in Word - the file is editable.
> >
> > Note that in Writer the text still appears to be read-only, the bug can only
> > be seen in Word.
> In LO 6.3, the text is editable, similarly to Word due to Serge's 2018-12-20
> 15:16:34 +0100 commit 0898595532d1e3f498c259b6dfee462249b00667.
> 
> Probably the only time this regression will be seen is when authoring a
> document in Writer, when there is no section and form protection is enabled.
> Proposed fix at https://gerrit.libreoffice.org/69957
Thanks for the proposed fix! Perhaps Serge's commit is the reason why switching
on Protect form isn't effective immediately, I'll have to check that
(originally I meant to check after a reload). With the patch it works as
expected in Word.

Please note that not adding sections is the normal way with form protection, at
least in Word you just throw up form fields along with accompanying text,
switch on restriction to only permit editing forms, and there you go. This is
the reason why I find it strange that sections pop up in such documents after
the commit mentioned in comment 1.

-- 
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/604a1863/attachment-0001.html>


More information about the Libreoffice-bugs mailing list