[Libreoffice-bugs] [Bug 132637] Fileopen: DOC with Lock Tracking (Protect changes) opens in LO as read-only to unlock edit with password, instead of password to remove Protect

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Wed May 6 08:01:21 UTC 2020


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

Justin L <jluth at mail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
           Assignee|libreoffice-bugs at lists.free |jluth at mail.com
                   |desktop.org                 |

--- Comment #7 from Justin L <jluth at mail.com> ---
In Word 2003, Lock.doc opens in read-write mode.
In Word 2013, it opens in read-only mode. You need to View - Edit document to
get started (but of course with no password).

So, the question is how far do we want to take this for the DOC format?
Currently, when LO round-trips the file, ALL of this information is lost.

Laszlo has implemented most of this for DOCX - import and export. But is it
worth doing it for the old DOC format?  Opening up as read-only (like DOCX)
seems very stupid to me, so my recommendation would be to just ignore the
password completely in this case (since it is lost anyway) and open in
read-write mode (just like sensible Word 2003). Otherwise we also need to map
it to the correct document security functions, and export it. That seems like
unnecessary effort at this stage in the game.

[For completeness, I also looked at the fourth lock option, which allow
comments only. I don't think Writer has support for that, so it should be
treated the same as a read-only protection - requiring the password to unlock
to edit.]

In all cases - including read-only, all of the protection is lost just by
round-tripping. So if a password is defeating you, just save-as and reload - no
password, no protection (except forms, which protects the section, but without
a password).

Proposed fix (which just ignores LockRev/password) at
https://gerrit.libreoffice.org/c/core/+/93551

-- 
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/20200506/4b32b8c7/attachment-0001.htm>


More information about the Libreoffice-bugs mailing list