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

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: P4
    • None
    • Affects Version/s: 7u15, 8, 9
    • Component/s: javafx
    • Environment:

      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.

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

              Created:
              Updated:
              Resolved:
              Imported: