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

Mac: accelerator doesn't take into account azerty keyboard layout

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 7u15, 8, 9
    • javafx
    • mac os x

      <MenuItem mnemonicParsing="false" text="%btn_undo" fx:id="undoButton">
                        <accelerator>
                          <KeyCodeCombination alt="UP" code="Z" control="UP" meta="UP" shift="UP" shortcut="DOWN" />
                        </accelerator>
                      </MenuItem>

      I have the above xml in my fxml file. On Windows with azerty it works fine, on Mac OS X with an azerty keyboard I have to press the meta+w key instead of z. When I type something in a textfield in my app the keyboard layout is respected.

            mfox Martin Fox
            nmommaertjfx Nico Mommaerts (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: