-
Bug
-
Resolution: Fixed
-
P4
-
jfx14
Yet another glitch in ChoiceBoxSkin: in a sequence: select -> attach skin -> find selected toggle no toggle is selected (see test snippet below)
A failing test case:
@Test
public void testBaseToggleInitialSelect() {
SingleSelectionModel<String> sm = box.getSelectionModel();
int selectedIndex = box.getItems().size() - 1;
sm.select(selectedIndex);
showChoiceBox();
assertToggleSelected(selectedIndex);
}
A failing test case:
@Test
public void testBaseToggleInitialSelect() {
SingleSelectionModel<String> sm = box.getSelectionModel();
int selectedIndex = box.getItems().size() - 1;
sm.select(selectedIndex);
showChoiceBox();
assertToggleSelected(selectedIndex);
}
- relates to
-
JDK-8087555 [ChoiceBox] uncontained value not shown
-
- Resolved
-
-
JDK-8241455 Memory leak on replacing selection/focusModel
-
- Resolved
-
-
JDK-8241999 ChoiceBox: incorrect toggle selected for uncontained selectedItem
-
- Resolved
-