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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • fx2.1
    • fx2.1
    • javafx
    • FX 2.1 promoted b12

      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.

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

              Created:
              Updated:
              Resolved:
              Imported: