Backports
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8289694 | jfx17.0.4 | Johan Vos | P4 | Resolved | Fixed |
Description
On a TreeTableView, with multiple selection enabled, when a non-expanded non-leaf node, that has at least two levels of descendants, is selected, the selection grows unexpectedly to the next sibling of the top-level node, once a new treeItem is added to the second (or deeper) level of the selected item.
The attached test shows the issue.
- Node 0 (non-leaf) is selected and not expanded. It has as child Node 1, which also has Node 2 as child.
- Node 3 is a sibling of Node 0.
When Node 4 is added as sibling of Node 2, Node 3 gets selected unexpectedly (see attached picture).
This issue can be reproduced with any JavaFX version and platform.
The attached test shows the issue.
- Node 0 (non-leaf) is selected and not expanded. It has as child Node 1, which also has Node 2 as child.
- Node 3 is a sibling of Node 0.
When Node 4 is added as sibling of Node 2, Node 3 gets selected unexpectedly (see attached picture).
This issue can be reproduced with any JavaFX version and platform.
Attachments
Issue Links
- backported by
-
JDK-8289694 Selection of non-expanded non-leaf treeItem grows unexpectedly when adding two-level descendants
- Resolved
- relates to
-
JDK-8248217 ☂ TreeTableView selection issues
- Open
- links to
-
Commit openjdk/jfx17u/d3c26c46
-
Commit openjdk/jfx/19a855e8
-
Review openjdk/jfx17u/70
-
Review openjdk/jfx/791
(1 links to)