Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6348035

REG: Pressing F10 does not bring up the menu in some cases, on XAWT

    Details

    • Subcomponent:
    • Resolved In Build:
      b77
    • CPU:
      sparc
    • OS:
      solaris_10
    • Verification:
      Verified

      Description

      I have a button and a text field inside a frame that has a menu added to it's menubar. Button currently has the focus. On clicking the button, I am disabling the button as well as the text field. So as per the specification, button initiates a forward focus traversal when disabled and focus is shifted to the text field which is also disabled. Now when I press F10, it is not bringing up the menu. But pressing CTRL+SPACE triggers action event for the menu item whose shortcut is set to CTRL+SPACE. But I think F10 should also work fine in this case where it should actually bring up the menu.

      This is reproducible only on XAWT with Mustang. This is not reproducible with Motif. This is not reproducible with XAWT on Tiger-FCS and menu appears perfectly. Hence it is a regression introduced in Mustang. This is working fine on Win32 as well. I reproduced it on SolarisSparc10-JDS with Mustang b55-59.

      I have attached a sample test. Execute the sample test. You would see a frame with a menu, button and a text field. Click on the 'Disable' button. Button as well as the text field will be disabled. Now focus is retained by the text field. Now press 'F10'. If the menu does not come up, the bug is reproduced.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                yan Yuri Nesterenko
                Reporter:
                pmohansunw Praveen Mohan (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: