With jdk-8u20-ea-bin-b05-windows-i586-12_mar_2014, the /managed /property appears to be doing double duty. It is causing the loss of visibility when managed is set to false. I downloaded jdk-8-windows-i586 and the issue remains.

This works okay:
<StackPane alignment="CENTER" prefHeight="400.0" prefWidth="400.0" xmlns:fx="http://javafx.com/fxml/1";>
    <Button text="a button" managed="*true*" visible="true" />
</StackPane>

With this the button is no longer visible. It should be at the parent x=0 and y=0 position: <StackPane alignment="CENTER" prefHeight="400.0" prefWidth="400.0" xmlns:fx="http://javafx.com/fxml/1";>
    <Button text="a button" managed="*false*" visible="true" />
</StackPane>

Here, Button has no visibility. It should be visible at the parent x=15 and y=15 position: <StackPane alignment="CENTER" prefHeight="400.0" prefWidth="400.0" xmlns:fx="http://javafx.com/fxml/1";> <Button text="a button" managed="*false*" visible="true" translateX="15.0" translateY="15.0" />
</StackPane>

JavaFX JavaDoc states: "/It's the application's responsibility to set the size and position of an unmanaged node./" It is as if the visible property is attached to the managed property; you can't see what you are managing. This is a major issue.

Thanks for your attention.

TA Hubbard

Reply via email to