-
Bug
-
Resolution: Won't Fix
-
P3
-
None
-
fx2.0
In theory, if a control handles the "enter" key stroke, then what should happen:
(1) onKeyPressed, onKeyReleased, onKeyTyped methods on the Control should get called before the skin
(2) If the skin handles any of KEY_PRESSED or KEY_RELEASED or KEY_TYPED, for a specific event, then it should consume all three events in the sequence
(3) The event should not bubble up beyond the control
Right now, (2) is not the case. We only consume the actual event we process, which can mean key press is consumed but key typed and key released are bubbled.
(1) onKeyPressed, onKeyReleased, onKeyTyped methods on the Control should get called before the skin
(2) If the skin handles any of KEY_PRESSED or KEY_RELEASED or KEY_TYPED, for a specific event, then it should consume all three events in the sequence
(3) The event should not bubble up beyond the control
Right now, (2) is not the case. We only consume the actual event we process, which can mean key press is consumed but key typed and key released are bubbled.
- relates to
-
JDK-8113738 Pressing space bar within TextBox that is within ScrollPane causes the ScrollPane to scroll
- Closed
-
JDK-8093099 TextField does not consume Backspace and Delete key events
- Closed
-
JDK-8128788 TextField should not consume unused key events
- Closed