openjdk-jfx
openjdk-jfx copied to clipboard
Bounds are falsely computed with bounds property listener
Hi
I am sorry that I have no luck to produce this as a test.
In my building app, every time I add listener to the bounds property as below, the bound is falsely computed and could not catch mouse events too.
MeshView shape = new MeshView();
.....
shape.boundsInParentProperty().addListener((observable, oldValue, bound) -> {
//DO NOTHING
});
What could possibly reasons for this?
Thanks
What does "the bound is falsely computed" mean? What "could not catch mouse events"?
Without a test case it's going to be near-impossible to understand the issue.
Shape presented on scene but the bounds are empty
BoundingBox [minX:0.0, minY:0.0, minZ:0.0, width:-1.0, height:-1.0, depth:0.0, maxX:-1.0, maxY:-1.0, maxZ:0.0]

@phamvanthanh - As @nlisker requested, please provide a short, standalone test program that demonstrates this failure. As it is, there is not enough information to proceed.