<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body><span class="vcard"><a class="email" href="mailto:raykowj@gmail.com" title="Jim Raykowski <raykowj@gmail.com>"> <span class="fn">Jim Raykowski</span></a>
</span> changed
          <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - When focus is on header/footer frame menu button key input handling should be limited to executing the pop up menu and escape to header/footer edit window"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=124092">bug 124092</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;">CC</td>
           <td>
                
           </td>
           <td>raykowj@gmail.com
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - When focus is on header/footer frame menu button key input handling should be limited to executing the pop up menu and escape to header/footer edit window"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=124092#c3">Comment # 3</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - When focus is on header/footer frame menu button key input handling should be limited to executing the pop up menu and escape to header/footer edit window"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=124092">bug 124092</a>
              from <span class="vcard"><a class="email" href="mailto:raykowj@gmail.com" title="Jim Raykowski <raykowj@gmail.com>"> <span class="fn">Jim Raykowski</span></a>
</span></b>
        <pre>Code pointers:

class SwHeaderFooterWin is the header/footer frame menu button.

sw/source/uibase/inc/HeaderFooterWin.hxx
Declare a function override of the inherited MenuButton:KeyInput function in
class SwHeaderFooterWin. 

sw/source/uibase/docvw/HeaderFooterWin.cxx
Add key input handling code to catch KEY_ESCAPE, KEY_SPACE, KEY_RETURN, and
Mod2 + KEY_DOWN.
For KEY_ESCAPE grab focus to the header/footer edit window.
For KEY_SPACE, KEY_RETURN, and Mod2 + KEY_DOWN follow SwHeaderFooterWin base
class hierachy to find how to execute its menu.

Search code base for KeyInput to learn about vcl::Window::KeyInput handling
function

This is for the case when header/footer edit window is not empty. Currently
there isn't a way that focus can be on the header/footer frame menu button when
header/footer is empty but if suggested behavior change is made for <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Maybe place focus on header/footer frame menu button when header/footer is empty"
   href="show_bug.cgi?id=124041">Bug 124041</a>
a check for empty/header footer edit window will be required so bonus points
for implementing check here.

There is additional code required to ensure the popup menu is displayed in the
correct location when executed using key input. I can supply code pointers as
needed.</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>