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

mnemonics bug in 1.4.1

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P2 P2
    • None
    • 1.4.1
    • client-libs

      Attached are a couple of files demostrating the menu mnemonics bug I've
      found in 1.4.1. The main class is "Application1". Run the program, you should
      see a Menu bar with "File" and "Help" menus. Press ALT-F to activate the "File"
      menu. So far so good. Under the "File" menu are the "New" submenu, the "Save"
      menu item, and the "Exit" menu item. Under the "New" submenu is a "Story" menu
      item. Both the "Save" and "Story" menu items have "S" as their mnemonic, but
      given that the 2 menu items are not on the same menu level, there should be no
      mixup regarding mnemonics (at least there were none in 1.4.0). Now press "S" to
      select the "Save" menu item; I would expect to see "Save Action" printed to
      standard out. However, "New Story Action" is printed instead, which indicates
      that the "Story" menu item under the "New" submenu is getting invoked.

       I have compiled & executed program under following environment on
       Windows platform.

       My observations are as follow:

       On 1.3.1_06 hot key "s" functions as Save Action
       On 1.4.0_02 hot key "s" functions as Save Action

       On 1.4.1 hot key "s" functions as New story---------->
       appears to be bug

       On 1.4.2-beta-b08 pressing hot key "s" functions as Save Action

      It appears that something broken in 1.4.1 & needs to be fixed.

            chegar Chris Hegarty
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: