JDK-8088199 : Gtk: key codes for non-US English keyboard layouts may be incorrect
  • Type: Bug
  • Component: javafx
  • Sub-Component: window-toolkit
  • Affected Version: 8
  • Priority: P4
  • Status: Closed
  • Resolution: Not an Issue
  • Submitted: 2013-12-20
  • Updated: 2023-12-21
  • Resolved: 2023-12-21
Related Reports
Relates :  
Relates :  
Description
A follow-up for RT-32300. Basically, we need to make sure the key codes reported by Glass are correct for both regular and dead keys.
Comments
Closing as not an issue. JDK-8123632 is specific to the Mac. This bug was entered as a follow-up bug to check the behavior with Gtk. As far as I know the key codes are correctly assigned on Linux with a few small exceptions. Dead keys are incorrect but we don't care since Linux processes dead keys using InputMethod events. The incorrect encoding only shows up in the KeyEvent.RELEASED event at the end of the dead key sequence. The same thing happens on Mac and it's benign. Beyond that AltGr can also be incorrectly encoded on some layouts but this also seems benign. JDK-8308644 has been entered that covers both of these cases. Another anomaly is the way Linux assigns key codes to the digit keys on a French layout. Mac and Windows assigns DIGIT0-DIGIT9 but Linux assigns based on the unshifted characters. It's not clear this is a bug or just a platform difference.
21-12-2023