SeparatorSkin: must remove child on dispose

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • jfx18
    • Affects Version/s: jfx16
    • Component/s: javafx

      Skin adds the line but never removes it.

      failing test:

          @Test
          public void testControlChildren() {
              installDefaultSkin(control);
              int childCount = control.getChildrenUnmodifiable().size();
              replaceSkin(control);
              assertEquals("skin must remove direct children that it has added",
                      childCount, control.getChildrenUnmodifiable().size());
          }
          
      fix: remove in dispose

            Assignee:
            Jeanette Winzenburg
            Reporter:
            Jeanette Winzenburg
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: