<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body><span class="vcard"><a class="email" href="mailto:philipz85@hotmail.com" title="Yousuf Philips (jay) <philipz85@hotmail.com>"> <span class="fn">Yousuf Philips (jay)</span></a>
</span> changed
          <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - CONFIGURATION: Means to make custom bars context-sensitive"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=106846">bug 106846</a>
          <br>
             <table border="1" cellspacing="0" cellpadding="8">
          <tr>
            <th>What</th>
            <th>Removed</th>
            <th>Added</th>
          </tr>

         <tr>
           <td style="text-align:right;">Keywords</td>
           <td>needsUXEval
           </td>
           <td>topicUI
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">CC</td>
           <td>libreoffice-ux-advise@lists.freedesktop.org
           </td>
           <td>momonasmon@gmail.com, muhammet.kara@pardus.org.tr, philipz85@hotmail.com
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">Blocks</td>
           <td>
                
           </td>
           <td>103238
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - CONFIGURATION: Means to make custom bars context-sensitive"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=106846#c4">Comment # 4</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - CONFIGURATION: Means to make custom bars context-sensitive"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=106846">bug 106846</a>
              from <span class="vcard"><a class="email" href="mailto:philipz85@hotmail.com" title="Yousuf Philips (jay) <philipz85@hotmail.com>"> <span class="fn">Yousuf Philips (jay)</span></a>
</span></b>
        <pre>(In reply to Thomas Lendo from <a href="show_bug.cgi?id=106846#c1">comment #1</a>)
<span class="quote">> Created <span class=""><a href="http://bugs.documentfoundation.org/attachment.cgi?id=132247" name="attach_132247" title="Dialog for contextual visibility of toolbars">attachment 132247</a> <a href="http://bugs.documentfoundation.org/attachment.cgi?id=132247&action=edit" title="Dialog for contextual visibility of toolbars">[details]</a></span>
> Dialog for contextual visibility of toolbars</span >

Nice idea but unfortunately it wont be able to do what is needed.

Similar to setting the style of a toolbar, we need to be able to set the
contextual nature of a toolbar. The contextual object types can be grabbed from
here[1] and here[2] are their string equivalents. They will be presented in a
drop down menu list and will alter the behaviour of the ContextSensitive[3]
attribute of toolbars when its set to anything other than the first entry -
'No'.

@Maxim, @mkara: Wasnt able to find anything in the code to tie the contextual
behaviour of existing toolbars with the EnumContext values, as that would be
the key part to make this issue work. Any thoughts?

[1] <a href="http://opengrok.libreoffice.org/xref/core/include/vcl/EnumContext.hxx#64">http://opengrok.libreoffice.org/xref/core/include/vcl/EnumContext.hxx#64</a>
[2]
<a href="http://opengrok.libreoffice.org/xref/core/vcl/source/window/EnumContext.cxx#156">http://opengrok.libreoffice.org/xref/core/vcl/source/window/EnumContext.cxx#156</a>
[3]
<a href="http://opengrok.libreoffice.org/xref/core/officecfg/registry/data/org/openoffice/Office/UI/WriterWindowState.xcu#142">http://opengrok.libreoffice.org/xref/core/officecfg/registry/data/org/openoffice/Office/UI/WriterWindowState.xcu#142</a></pre>
        </div>
      </p>

        <div id="referenced">
          <hr style="border: 1px dashed #969696">
          <b>Referenced Bugs:</b>
          <ul>
              <li>
                [<a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [META] Customize dialog bugs and enhancements"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=103238">Bug 103238</a>] [META] Customize dialog bugs and enhancements
              </li>
          </ul>
        </div>
        <br>

      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>