<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - An explicitly enabled contextual toolbar is always closing after exiting its contextual state"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=107495#c3">Comment # 3</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - An explicitly enabled contextual toolbar is always closing after exiting its contextual state"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=107495">bug 107495</a>
              from <span class="vcard"><a class="email" href="mailto:momonasmon@gmail.com" title="Maxim Monastirsky <momonasmon@gmail.com>"> <span class="fn">Maxim Monastirsky</span></a>
</span></b>
        <pre>(In reply to Yousuf Philips (jay) from <a href="show_bug.cgi?id=107495#c2">comment #2</a>)
<span class="quote">> @Maxim, @Muhammet: Any idea how difficult this would be to fix, or is all
> that is needed is to change 'ContextSensitive' from true to false in the
> user profile?</span >
AFAIK changing 'ContextSensitive' alone won't do this. The handling of
contextual toolbars is hardcoded in the application code (with Impress/Draw
having different code for that than Writer/Calc). What we need is to refactor
that code so toolbar context will be set directly in *WindowState.xcu (using
vcl::Context enum), similar to what we have for the sidebar.

But currently 'ContextSensitive' does only 2 things:

1. Ignore 'Visible' at application start (i.e. 'ContextSensitive' + 'Visible'
means visible when the correct context active). But it have no effect on what
will happen later while using the application.

2. Changes the state of View > Toolbars > Reset. If there is at least one
'ContextSensitive' toolbar with 'Visible'=false', that menu item will be
enabled, and will allow setting it back to true.</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>