JDK-8320557 : TextField: ESC should not consume KeyEvent if nothing to cancel
  • Type: Bug
  • Component: javafx
  • Sub-Component: controls
  • Affected Version: jfx21
  • Priority: P4
  • Status: Open
  • Resolution: Unresolved
  • Submitted: 2023-11-21
  • Updated: 2024-11-14
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
tbdUnresolved
Related Reports
Blocks :  
Relates :  
Description
This issue came out of the mailing list discussion

https://mail.openjdk.org/pipermail/openjfx-dev/2023-November/043781.html

> ESC is the key binding to Undo on the TextField, but it's always consumed,
> even if there's nothing to undo.
(later corrected to ~ "nothing to cancel") 

We might have other scenarios where the KeyEvent is consumed regardless of the outcome, so please investigate.

I plan to fix it after the Public InputMap JDK-8314968 enhancement is in.