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

Accordion control holds reference to child pane after it is removed

    XMLWordPrintable

    Details

    • Subcomponent:
    • CPU:
      x86_64
    • OS:
      generic

      Description

      A DESCRIPTION OF THE PROBLEM :
      he Accordion control keeps a reference to its first TitledPane even after all panes have been removed, which prevents it to be collected, alongside everything attached to that pane.

      The reason for that is the skin for the control explicitly keeps a reference to it, so that it can apply and remove the "first-titled-pane" css style class.
      It is kept in sync with the list of panes in the control through the use of a ListChangeListener, however the listener's implementation never severs the reference after the last TitlePane has been removed.

      More detail about the issue can be found on Github: https://github.com/javafxports/openjdk-jfx/issues/391


      FREQUENCY : always


        Attachments

          Activity

            People

            Assignee:
            aghaisas Ajit Ghaisas
            Reporter:
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: