-
Bug
-
Resolution: Fixed
-
P3
-
8
Run the sample.
Click on the TextField (the second element) and press enter. You will see that the button (which is set to "defaultButton") is pressed.
Now click on the ComboBox textField like you would want to type something. Press enter and you will see that the button is not being pressed.
Is it a normal behavior?
If it is, comment out the specified line in the sample. I've made a link between the comboBox actionProperty and the button's one.
Launch the sample, the caret should be inside the comboBox textField. Press enter et nothing happens. Now click on the second textField and click back to the comboBox textField. Press enter and then the button is triggered.
Is it a normal behavior?
Sample code: http://pastebin.com/SCcV3yDc
- duplicates
-
JDK-8093172 DatePicker can lose focus when popup is shown
- Resolved
-
JDK-8094476 [ComboBox, DatePicker] DatePicker and editable ComboBox consume ESC key event, also when no popup is shown
- Closed
- is blocked by
-
JDK-8091189 Move BehaviorBase into public API
- Open
- relates to
-
JDK-8193311 [Spinner] Default button not activated on ENTER
- Resolved
-
JDK-8131666 Accelerators must fire always, unless key combination is explicitly handled by Control
- Open
-
JDK-8129400 Text selection fails when focusing ComboBox
- Open
-
JDK-8093172 DatePicker can lose focus when popup is shown
- Resolved