<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_UNCONFIRMED "
   title="UNCONFIRMED - Allow to open linked documents when trying to edit protected sections"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=144350#c6">Comment # 6</a>
              on <a class="bz_bug_link 
          bz_status_UNCONFIRMED "
   title="UNCONFIRMED - Allow to open linked documents when trying to edit protected sections"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=144350">bug 144350</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>(In reply to Heiko Tietze from <a href="show_bug.cgi?id=144350#c5">comment #5</a>)
<span class="quote">> If the context doesn't apply, hide the control.</span >

Which is exactly what I mentioned: you need to provide the information from the
action into the dialog.

And note the current logic: now the action checks if there is *any* locked
content affected by *any* operation; often it doesn't need to analyze
everything, and may break when encountered *the first* locked element affected.
What would need to be done is to analyze *everything* (to build the correct
context for the interaction), which would introduce this complexity into all
actions that could potentially give this warning; the analysis before the
interaction would take longer (for bigger selections). It might make sense,
though - but I don't think it's an easy change at all.</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>