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

ChoiceBoxSkin: misbehavior on switching skin, part 2

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P4
    • jfx16
    • jfx14
    • javafx

    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

              fastegal Jeanette Winzenburg
              fastegal Jeanette Winzenburg
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: