[CSS] Using the same node several times as the root node for a Scene causes root styleclass to be added multiple times

XMLWordPrintable

    • Type: Bug
    • Resolution: Incomplete
    • Priority: P4
    • None
    • Affects Version/s: 8u20
    • Component/s: javafx

      In my app I often temporarily switch out the scene's root node for another before changing to back. I noticed that every time a switch occurs, another "root" styleclass gets added to my node. I think this is a bug ... and well, perhaps in the long run, a memory leak :-)

      Workaround: remove "root" style class before doing scene.setRoot(myNode);

            Assignee:
            Jonathan Giles
            Reporter:
            John Hendrikx
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: