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

REGRESSION: Typed menu mnemonics appear in text components

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3
    • Resolution: Duplicate
    • Affects Version/s: 6
    • Fix Version/s: None
    • Component/s: client-libs
    • Labels:
    • Subcomponent:
    • Introduced In Build:
      b58
    • Introduced In Version:
      6
    • CPU:
      x86
    • OS:
      windows_xp

      Description

      FULL PRODUCT VERSION :
      java version "1.6.0-rc"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.6.0-rc-b69)
      Java HotSpot(TM) Client VM (build 1.6.0-rc-b69, mixed mode, sharing)

      ADDITIONAL OS VERSION INFORMATION :
      Microsoft Windows XP [Version 5.1.2600]

      A DESCRIPTION OF THE PROBLEM :
      When using JMenu mnemonics e.g. ALT+f (file) s (save), the second letter which is typed appears in any editable text componenent which has the focus.

      For many applications ALT+f pulls down the file menu. If you then type an 's' it selects the save option from the menu. In Mustang when you type the second letter ('s' in this case) it appears as if you typed it into the current text component.

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      Start the SwingSet2 demo.
      Select the JInternalFrame Demo (far left)
      Click in the "frame title" JTextField to give it the focus.
      Hold in ALT and press 'F' (this pulls down the File menu)
      Press 'b' (to select the "about" option).
      Dismiss the about dialog.
      A 'b' now appears in the TextField (this is a regression).


      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      The menu option is selected, and no additional text appears in the TextField.
      ACTUAL -
      The character 'b' is appended to the text field.

      REPRODUCIBILITY :
      This bug can be reproduced always.

      ---------- BEGIN SOURCE ----------
      SwingSet2 can be used as outlined above.
      ---------- END SOURCE ----------

      Release Regression From : 5.0
      The above release value was the last known release where this
      bug was known to work. Since then there has been a regression.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                osemenovsunw Oleg Semenov (Inactive)
                Reporter:
                rmandalasunw Ranjith Mandala (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: