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

Toggling of mnemonics visibility state inconsistent on WinXP platforms

XMLWordPrintable

      Name: rmT116609 Date: 05/29/2003


      FULL PRODUCT VERSION :
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2-beta-b19)
      Java HotSpot(TM) Client VM (build 1.4.2-beta-b19, mixed mode)

      FULL OS VERSION :
      Microsoft Windows XP [Version 5.1.2600]

      A DESCRIPTION OF THE PROBLEM :
      Running the SwingSet2 demo using JDK 1.4.2 (Beta), and pressing the Alt key does not toggle the state of the menu mnemonics as it should for applications running on Windows 2000/XP platforms. Requires the user to keep the Alt key depressed until the mnemonics are painted before the user is aware of which character to depress to trigger the menu item.

      This problem is also apparent on the JOptionPane tab of the same demo with the JOptionPane launched from the Show Confirmation Dialog button. The mnemonics for the Yes/No buttons should become visible when the Alt key is pressed but requires the user to press and hold the Alt key for the mnemonics to paint.

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      1) Launch SwingSet2 demo from J2SE installation.
      2) Press ALT key and release (mnemonics should be displayed for menus).
      3) Press JOptionPane button on toolbar and press Show Confirmation Dialog button.
      4) Press ALT key and release (mnemonics should be displayed for Yes/No buttons).

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      Pressing the ALT key should toggle the visibility state of the mnemonics defined on menus and buttons and not require the user to hold down the ALT key in order for the mnemonics to be painted.
      ACTUAL -
      Mnemonics would temporarily display and then disappear if the ALT key is pressed and then released.

      REPRODUCIBILITY :
      This bug can be reproduced always.

      CUSTOMER SUBMITTED WORKAROUND :
      Holding down the ALT key is the only way for mnemonics to be display and remain displayed.
      (Review ID: 186651)
      ======================================================================

            Unassigned Unassigned
            rmandalasunw Ranjith Mandala (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: