Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8246202

ChoiceBoxSkin: misbehavior on switching skin, part 2

    Details

    • Type: Bug
    • Status: In Progress
    • Priority: P4
    • Resolution: Unresolved
    • Affects Version/s: openjfx14
    • Fix Version/s: openjfx16
    • Component/s: javafx
    • Labels:
    • Subcomponent:
    • Understanding:
      Fix Understood

      Description

      noted a new failing test:

          @Test @Ignore("left-over from choiceBoxSkin fix")
          public void testChoiceBoxSetItems() {
              ChoiceBox<String> box = new ChoiceBox<>();
              installDefaultSkin(box);
              replaceSkin(box);
              box.setItems(observableArrayList("one"));
              box.getItems().add("added");
          }

      Overlooked the listener to box' items property when fixing JDK-8244657 .. needs to be removed in dispose along with the others ;)

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                fastegal Jeanette Winzenburg
                Reporter:
                fastegal Jeanette Winzenburg
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: