-
Bug
-
Resolution: Fixed
-
P4
-
7u40
-
None
To reproduce:
1) Drop a GridPane
2) Select column 0
3) Change the "preferred width" in the Inspector
-> Selection handles do not reflect the width change : BUG
4) Select root object
5) Select GridPane
-> Selection handles *still* not reflect the width change : BUG (in FX)
6) Resize the GridPane
-> Selection handles now reflect the width change
Step #5 shows that the root cause of the pb is in GridPane :
GridPaneDesignInfo class maintains some cached data which are
not updated when row/column constraints are changed.
However SB 1.0 implemented a workaround (it calls GridPane.requestLayout()
to force GridPaneDesignInfo to recompute). I accidentally removed this workaround
when I introduced the TrackerV5 class.
1) Drop a GridPane
2) Select column 0
3) Change the "preferred width" in the Inspector
-> Selection handles do not reflect the width change : BUG
4) Select root object
5) Select GridPane
-> Selection handles *still* not reflect the width change : BUG (in FX)
6) Resize the GridPane
-> Selection handles now reflect the width change
Step #5 shows that the root cause of the pb is in GridPane :
GridPaneDesignInfo class maintains some cached data which are
not updated when row/column constraints are changed.
However SB 1.0 implemented a workaround (it calls GridPane.requestLayout()
to force GridPaneDesignInfo to recompute). I accidentally removed this workaround
when I introduced the TrackerV5 class.
- relates to
-
JDK-8122481 GridPane selection handles wrongly rendered after a "Wrap In Grid Pane"
-
- Closed
-
-
JDK-8122505 GridPane -> Move Row Above throws ArrayIndexOutOfBoundsException with Preferences.fxml
-
- Closed
-