Hello,
I found (maybe) bug with deleting Node with DockPane. For example if you got Tab with DockPane and you close it in next tabs there will be NullPointException in DockTitleBar -> pickEventTarget() -> DockPane.dockpanes. Its because dockpane is no more in scene.
I tried to delete dockPane from DockPane.dockpanes, exception disapere but there is no more event in existing dockpanes.
And also I would ask you where do you fire event to dockPane ?
EDIT:
Magicly when I dock null to dockPane, events start firing.
EDIT 2:
Problem was in TabPane listener and not in DockPane listener. If something similiar happends to you just remove TabPane listener, add tabs with DockPane and then add listener to TabPane.
Hello,
I found (maybe) bug with deleting Node with DockPane. For example if you got Tab with DockPane and you close it in next tabs there will be NullPointException in DockTitleBar -> pickEventTarget() -> DockPane.dockpanes. Its because dockpane is no more in scene.
I tried to delete dockPane from DockPane.dockpanes, exception disapere but there is no more event in existing dockpanes.
And also I would ask you where do you fire event to dockPane ?
EDIT:
Magicly when I dock null to dockPane, events start firing.
EDIT 2:
Problem was in TabPane listener and not in DockPane listener. If something similiar happends to you just remove TabPane listener, add tabs with DockPane and then add listener to TabPane.