JDK-8093172 : DatePicker can lose focus when popup is shown
  • Type: Bug
  • Component: javafx
  • Sub-Component: controls
  • Affected Version: 8u20
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2015-04-27
  • Updated: 2015-11-03
  • Resolved: 2015-05-13
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 8
8u60Fixed
Related Reports
Duplicate :  
Relates :  
Description
DatePicker losts focus in case that it gains it by mouse selection and popup is shown through ALT+UP/DOWN arrow.

Opening it through F4 does not work in 8u45 too, but looks working in 8u60_b12.

This is working in 8u11.
Comments
OK
13-05-2015

This was not a duplicate issue as such, but was solved indirectly by fix for RT-34620. I wanted to make sure that SQE tested for it separately, which may be missed if it's closed as duplicate.
13-05-2015

Reopen to mark as duplicate.
13-05-2015

Resolved by fix for RT-34620.
13-05-2015

import javafx.application.Application; import javafx.collections.FXCollections; import javafx.scene.Scene; import javafx.scene.control.ComboBox; import javafx.scene.control.DatePicker; import javafx.scene.layout.VBox; import javafx.stage.Stage; public class DatePickerBug extends Application { @Override public void start(Stage stage) throws Exception { String[] choices = {"one", "two", "three"}; DatePicker datePicker = new DatePicker(); ComboBox<String> comboBox = new ComboBox<String>(FXCollections.observableArrayList(choices)); Scene scene = new Scene ( new VBox ( comboBox, datePicker ), 400, 400 ); stage.setScene(scene); stage.show(); } public static void main(String[] args) { launch(args); } }
27-04-2015