Integrated: 8356770: TreeTableView not updated after removing a TreeItem with children and adding it to another parent
Ziad El Midaoui
zelmidaoui at openjdk.org
Mon Nov 17 17:32:21 UTC 2025
On Wed, 12 Nov 2025 14:21:22 GMT, Ziad El Midaoui <zelmidaoui at openjdk.org> wrote:
> When a subtree is moved in a `TreeTableView` , the visuals don’t update until a resize or expand/collapse. The `TreeTableViewSkin` only rebuilds cells when the expanded row count changes.
> This PR makes the skin to detect structural changes on `childrenModificationEvent` using new variable `treeStructureDirty`, and in `updateItemCount()` call `requestRebuildCells()` to refresh the visuals.
This pull request has now been integrated.
Changeset: 88921888
Author: Ziad El Midaoui <zelmidaoui at openjdk.org>
URL: https://git.openjdk.org/jfx/commit/88921888b154e25d3d79f51576b4f501577d5c74
Stats: 61 lines in 2 files changed: 60 ins; 0 del; 1 mod
8356770: TreeTableView not updated after removing a TreeItem with children and adding it to another parent
Reviewed-by: angorya, mhanl
-------------
PR: https://git.openjdk.org/jfx/pull/1971
More information about the openjfx-dev
mailing list