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

Accelerator set using KeyCode.DIGIT<i> reads DIGIT<i> within the menu

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: fx2.1
    • Fix Version/s: fx2.1
    • Component/s: javafx
    • Environment:

      FX 2.1 promoted b12

      Description

      This is a regression, unless I miss something. Such an accelerator used to read <i>.
      Consider running the attached code where is done:

      KeyCombination acceleratorKeyComboA = KeyCombination.keyCombination("Shortcut+4");
      KeyCodeCombination acceleratorKeyComboC = new KeyCodeCombination(KeyCode.DIGIT4, KeyCombination.ALT_DOWN, KeyCombination.CONTROL_DOWN);

      In the menu I read "Ctrl + DIGIT4" in place of expected "Ctrl + 4" for the first one and "Ctrl + Alt + DIGIT4" in place of "Ctrl + Alt + 4" for the second.
      This issue affects Mac as well as Windows.

        Attachments

          Activity

            People

            • Assignee:
              jgiles Jonathan Giles
              Reporter:
              yjoan Yves Joan (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Imported: