TreeView SetCurrentNode selects incorrect node when scrolled #53
Labels
No Label
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No Milestone
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: tslocum/cview#53
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
It seems the SetCurrentNode method does not take into account the scroll offset of the treeview. If the later is scrolled, using the method to select a node actually selects a node positioned a scroll offset above it.
The issue can also be observed when using the mouse to select a node.
changed title from TreeView {-mouse selection-} selects incorrect node when scrolled to TreeView {+SetCurrentNode+} selects incorrect node when scrolled
changed the description
changed the description
Thanks for reporting this. I'm unable to reproduce this issue when modifying the presentation demo. Will you please share some code that demonstrates this?
If anyone is still experiencing this issue, please feel free to comment and I will reopen it.