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

JavaFX controls do not support Umlauts as KeyEvent

XMLWordPrintable

      FULL PRODUCT VERSION :
      java version "1.8.0_102"
      Java(TM) SE Runtime Environment (build 1.8.0_102-b14)
      Java HotSpot(TM) Client VM (build 25.102-b14, mixed mode, sharing)

      ADDITIONAL OS VERSION INFORMATION :
      Microsoft Windows [Version 6.1.7601]

      A DESCRIPTION OF THE PROBLEM :
      JavaFX Key Events to do not support German Umlaut characters.

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      If you add a key event listener to a JavaFX control and press a German Umlaut key, the key code which is contained in the event is UNDEFINED.




      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      The key code represents the corresponding key code, e.g. 'ü'
      ACTUAL -
      KeyCode.UNDEFINED is returned

      REPRODUCIBILITY :
      This bug can be reproduced always.

      ---------- BEGIN SOURCE ----------

      combo.setOnKeyPressed(evt -> System.out.println(evt.getCode()));
      ---------- END SOURCE ----------

            mfox Martin Fox
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: