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

[Keyboard] Accelerator does not work for minus key on Mac

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • 8u5
    • javafx
    • OS X 10.9.3

      The following does not work at all
      "zoomOut.setAccelerator(new KeyCodeCombination(KeyCode.MINUS, KeyCombination.META_DOWN));",
      while for example
      "zoomOut.setAccelerator(new KeyCodeCombination(KeyCode.DOWN, KeyCombination.META_DOWN));"
      works perfectly. I am using a Finnish keyboard layout. It seems that JavaFX does not recognize the minus key on Mac?

        1. AcceleratorTest.fxml
          2 kB
          Eric Le Ponner
        2. AcceleratorTest.java
          2 kB
          Eric Le Ponner

            mfox Martin Fox
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Imported: