JDK-8089373 : Translation from character to key code is not sufficient
  • Type: Bug
  • Component: javafx
  • Sub-Component: graphics
  • Affected Version: 8
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2013-01-10
  • Updated: 2025-01-16
  • Resolved: 2024-02-19
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
jfx23 b06Fixed
Related Reports
Blocks :  
Duplicate :  
Relates :  
Description
For matching key combinations, we use int Toolkit.getKeyCodeForChar(..) method. This is not sufficient, because some characters can be produced by several key codes. For instance, if user binds a "+" key combination, it should react on both key-pad and num-pad "+" keys. So instead of this method, we need to have int[] getKeyCodesForChar(..) returning all the possible key codes.
Comments
Changeset: ee8633cb Author: Martin Fox <mfox@openjdk.org> Date: 2024-02-19 16:30:34 +0000 URL: https://git.openjdk.org/jfx/commit/ee8633cb6d19b6da7bf32ad3cdee31261a7cf458
19-02-2024

A pull request was submitted for review. URL: https://git.openjdk.org/jfx/pull/1289 Date: 2023-11-17 20:05:09 +0000
17-11-2023

A pull request was submitted for review. URL: https://git.openjdk.org/jfx/pull/1126 Date: 2023-05-04 17:18:21 +0000
04-05-2023

trying to fix them all at the same time....
19-11-2014

Changing from a tweak to a bug - this type seems more appropriate, especially because there is a user-reported bug dependent on it.
13-05-2013

There are users complaining (filing bugs) that they cannot specify proper shortcuts in their apps. I'm not sure how important a problem it is.
14-01-2013

This would need to first be done in glass and then Quantum could trivially implement the method.
12-01-2013

How important is this for FX 8?
12-01-2013