TreeView SetCurrentNode selects incorrect node when scrolled #53

Closed
opened 2021-02-13 18:29:23 +00:00 by urandom1 · 5 comments
urandom1 commented 2021-02-13 18:29:23 +00:00 (Migrated from gitlab.com)

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.

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.
urandom1 commented 2021-02-13 18:30:47 +00:00 (Migrated from gitlab.com)

changed title from TreeView {-mouse selection-} selects incorrect node when scrolled to TreeView {+SetCurrentNode+} selects incorrect node when scrolled

changed title from **TreeView {-mouse selection-} selects incorrect node when scrolled** to **TreeView {+SetCurrentNode+} selects incorrect node when scrolled**
urandom1 commented 2021-02-13 18:30:47 +00:00 (Migrated from gitlab.com)

changed the description

changed the description
urandom1 commented 2021-02-13 18:31:33 +00:00 (Migrated from gitlab.com)

changed the description

changed the description
tslocum commented 2021-02-16 22:35:05 +00:00 (Migrated from gitlab.com)

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?

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?
tslocum added the
bug
label 2021-05-18 15:56:25 +00:00
tslocum removed the
bug
label 2021-07-13 00:22:12 +00:00

If anyone is still experiencing this issue, please feel free to comment and I will reopen it.

If anyone is still experiencing this issue, please feel free to comment and I will reopen it.
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: tslocum/cview#53
No description provided.