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

REG: Menu shortcuts do not trigger action after clicking a non-focusable choice

XMLWordPrintable

    • x86
    • windows

      This is reproducible on Windows platform from b53 onwards.

      Run the attached testcase. I've a Choice in a Frame. The Frame has a menu bar, there is a menu item having a shortcut, added to a menu. On clicking a button on the Frame, the choice is made non-focusable. Now, after I click the choice, action events are not fired for the menu item, if the shortcut key is pressed. Now if any other action is done, all pending events are triggered.

      Steps to follow:
      1. Run the attached testcase
      2. Click on the Button 'Non-focusable'. This makes the Choice non-focusable.
      3. Click the Choice once to show the drop down. Click it again so that the drop down disappear. (Don't select any item to hide the drop down.)
      4. Press the shortcut ctrl + A - see that action events are not triggered.
      5. Click on the Checkbox. Now it can be seen that all the pending actions are triggered.

            dav Andrei Dmitriev (Inactive)
            gramachasunw Girish Ramachandran (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: