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

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

    Details

    • Type: Bug
    • Status: Open
    • Priority: P4
    • Resolution: Unresolved
    • Affects Version/s: 7u15, 8, 9
    • Fix Version/s: tbd
    • Component/s: javafx
    • Environment:

      mac os x

      Description

      <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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                nmommaertjfx Nico Mommaerts (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Imported: