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

TextField: ESC should not consume KeyEvent if nothing to cancel

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • jfx21
    • javafx
    • None

      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.

            angorya Andy Goryachev
            angorya Andy Goryachev
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: