<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Control File Locking from Options"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=41442#c17">Comment # 17</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Control File Locking from Options"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=41442">bug 41442</a>
              from <span class="vcard"><a class="email" href="mailto:mikekaganski@hotmail.com" title="Mike Kaganski <mikekaganski@hotmail.com>"> <span class="fn">Mike Kaganski</span></a>
</span></b>
        <pre>I propose this to be WORKSFORME.

Rationale:
1. The requested functionality is a power user feature, requiring users to have
clear understanding of what they do and what are the drawbacks (e.g. possible
conflicts on simultaneous edits on filesystems without in-built locking
present, or absent information about who has locked the file on another
system).
2. Since version 4.2, we have Expert Configuration feature [1] allowing one to
set different power-user settings from Options; since version 5.0, the feature
allows searching [2], making it easier to search for needed settings. Find the
feature on Options->LibreOffice->Advanced->Open Expert Configuration.
3. The requested functionality is already present using
'org.openoffice.Office.Common/Misc/UseLocking' setting (controlling creation of
lockfiles and using locking in general), and
'org.openoffice.Office.Common/Misc/UseDocumentOOoLockFile' setting (controlling
whether the present lockfile will be considered when deciding if the file is
locked by someone else). For curious, the details about effects of the settings
are in function SfxMedium::LockOrigFileOnDemand [3].

[1] <a href="https://wiki.documentfoundation.org/ReleaseNotes/4.2#GUI">https://wiki.documentfoundation.org/ReleaseNotes/4.2#GUI</a>
[2]
<a href="https://wiki.documentfoundation.org/ReleaseNotes/5.0#Expert_Configuration_usability_improvements">https://wiki.documentfoundation.org/ReleaseNotes/5.0#Expert_Configuration_usability_improvements</a>
[3]
<a href="https://opengrok.libreoffice.org/xref/core/sfx2/source/doc/docfile.cxx#LockOrigFileOnDemand">https://opengrok.libreoffice.org/xref/core/sfx2/source/doc/docfile.cxx#LockOrigFileOnDemand</a></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>