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

ComboBoxTableCell: incorrect behavior on Esc/Enter

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 9
    • 9
    • javafx
    • 9-ea-104

      Use the example in https://bugs.openjdk.java.net/browse/JDK-8138683

      Misbehaviour A: not cancelling on Esc

      - start editing such that the popup is open
      - navigate by keyboard to a different item
      - press esc
      - expected: edit cancelled, that is value still same as in first column
      - actual: edit committed, that is value changed to the item we navigated to

      Misbehaviour B: not committing on Enter

      - start editing such that the popup is not open (be sure the combo has focus)
      - press up to select a different item
      - press enter
      - expected: value committed, editing terminated
      - actual: nothing

      These could be related to the fix of https://bugs.openjdk.java.net/browse/JDK-8138683, formally no regression because before the fix we couldn't navigate ;-)

       

            jgiles Jonathan Giles
            fastegal Jeanette Winzenburg
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: