After JDK-8218826, when using a TableView control with fixed cell size set, showing a column that was previously hidden doesn't lay it out correctly.
The attached test shows the case.
Running the test with any JavaFX version earlier than 20-ea+2 works as expected:
- Run test, column 1 and 3 are shown (see Table0.png)
- Select CheckBox, column 2 is also shown and correctly rendered (see Table1.png)
But running with JavaFX version 20-ea+2 or greater fails:
- Run test, column 1 and 3 are shown (see Table0.png)
- Select CheckBox, column 2 is not fully shown (only column table header) (see Table2.png)
The test runs fine selecting three times the checkbox, forcing a relayout (like resizing the stage) or if fixed cell set is not set.
The attached test shows the case.
Running the test with any JavaFX version earlier than 20-ea+2 works as expected:
- Run test, column 1 and 3 are shown (see Table0.png)
- Select CheckBox, column 2 is also shown and correctly rendered (see Table1.png)
But running with JavaFX version 20-ea+2 or greater fails:
- Run test, column 1 and 3 are shown (see Table0.png)
- Select CheckBox, column 2 is not fully shown (only column table header) (see Table2.png)
The test runs fine selecting three times the checkbox, forcing a relayout (like resizing the stage) or if fixed cell set is not set.