- changed status to resolved
Tree hover highlight inaccurate
USE CASE: WHAT DO YOU WANT TO DO?
Hover over a subtree to highlight the subtree
STEPS TO REPRODUCE AN ISSUE (OR TRIGGER A NEW FEATURE)
Hover the cursor over the subtree shown in the attached image or generally over a leaf that is flanked by 2, 2-leaf subtrees.
CURRENT BEHAVIOR
The subtree including the currently hovered leaf is not always what is highlighted. In fact, the resulting highlighted subtree can be a ways away from where the cursor actually is.
EXPECTED BEHAVIOR
The highlighted subtree should include the leaf that the cursor is currently hovered over.
DEVELOPERS ONLY SECTION
SUGGESTED CHANGE (Pseudocode optional)
Change getClosestNode to search only the path from the currently hovered leaf up to the root to find which node the cursor is directly underneath.
FILES AFFECTED (where the changes will be implemented) - developers only
TRView ColumnTreeView RowTreeView Treepainter TreeDrawer
LEVEL OF EFFORT - developers only
minor
COMMENTS
I thought sure that this issue was already in the system somewhere, but I could not find it.
Note, in this screen cap, you can't see the cursor, but you can see from the red label where the cursor is over the tree and see that the tree node that is highlighted is a few branches off to the right of that.
I have pretty much already resolved this issue on branch issue323...
Comments (3)
-
reporter -
reporter - changed component to Selecting Data
-
reporter - removed milestone
Removing milestone: Selecting Data (automated comment)
- Log in to comment
This is resolved in branch "issue323...".