-
Bug
-
Resolution: Fixed
-
P3
-
9, 10
had been fixed in JDK-8136838 and broken with fixing JDK-8150946
The technical reason is the change in ComboBoxPopupControl in the latter, which removes the code that had been added in the former:
+++ b/modules/controls/src/main/java/javafx/scene/control/skin/ComboBoxPopupControl.java Fri Jun 17 12:47:34 2016 +1200
@@ -138,11 +138,6 @@
if (getEditor() != null) {
// Fix for the regression noted in a comment inRT-29885.
((FakeFocusTextField)textField).setFakeFocus(hasFocus);
-
- //JDK-8120120 (aka RT-21454) and JDK-8136838
- if (!hasFocus) {
- setTextFromTextFieldIntoComboBoxValue();
- }
}
});
The deeper reason is the oversight to not add commit/cancel semantics to the DatePicker - had not explicitly been mentioned inJDK-8150946 ...
The technical reason is the change in ComboBoxPopupControl in the latter, which removes the code that had been added in the former:
+++ b/modules/controls/src/main/java/javafx/scene/control/skin/ComboBoxPopupControl.java Fri Jun 17 12:47:34 2016 +1200
@@ -138,11 +138,6 @@
if (getEditor() != null) {
// Fix for the regression noted in a comment in
((FakeFocusTextField)textField).setFakeFocus(hasFocus);
-
- //
- if (!hasFocus) {
- setTextFromTextFieldIntoComboBoxValue();
- }
}
});
The deeper reason is the oversight to not add commit/cancel semantics to the DatePicker - had not explicitly been mentioned in
- csr for
-
JDK-8277782 Regression: DatePicker must commit on focusLost
- Closed
- duplicates
-
JDK-8254368 DatePicker - Not Committing Value on Focus Loss
- Closed
- relates to
-
JDK-8151129 Editable ComboBox value update on focus lost is too late
- Closed
-
JDK-8136838 [ComboBox, DatePicker] Value doesn't update when focus is lost
- Resolved
-
JDK-8303478 DatePicker throws uncatchable exception on tab out from garbled text
- Resolved
-
JDK-8150946 Editable ComboBox / Spinner controls need uniform 'commit on focus lost' semantics
- Resolved
(1 relates to, 2 links to)