RFR: 8341286: TreeView: visual artifacts when setting new root with null value
Andy Goryachev
angorya at openjdk.org
Mon Jul 28 18:51:58 UTC 2025
On Mon, 30 Jun 2025 21:49:22 GMT, Ziad El Midaoui <zelmidaoui at openjdk.org> wrote:
> Fix for phantom disclosure nodes appearing when root is null
modules/javafx.controls/src/main/java/javafx/scene/control/skin/TreeCellSkin.java line 363:
> 361: private void updateDisclosureNode() {
> 362: // JDK-8341281 : Root TreeItem with null value breaks TreeTableView
> 363: // if (getSkinnable().isEmpty()) return;
I think you've got it!
I can't reproduce the issue with your fix - both the reproducer and the monkey tester work correctly.
You don't need to keep the commented out code, please remove it.
-------------
PR Review Comment: https://git.openjdk.org/jfx/pull/1838#discussion_r2237563172
More information about the openjfx-dev
mailing list