Skip to content

[BUG] Clicking on items in the tree view, moves the cursor randomly #187

Open

Description

@cfgnunes

Clicking on items in the tree view (from different files), moves the cursor to the other item, randomly.

Step to reproduce the bug

  1. Set these settings
    "better-todo-tree.tree.groupedByTag": true,
    "better-todo-tree.tree.showCountsInTree": true,
    "better-todo-tree.tree.tagsOnly": true,
  1. Close all files
  2. In tree view, click on some item.
  3. In tree view, click on some item (from another different file).

Error description

Unexpected behavior: the tree view will select another item, scrolling up (or down) the list.

This bug is a bit boring because when you are navigating between the items in the tree with the keyboard, the selection in the list stays crazy, moving up or down.

Expected behavior

After clicking on a item, the selection in the tree should stay in the same place.

Activity

  1. cfgnunes commented on Oct 12, 2026

    @cfgnunes
    Author

    Hi @FanaticPythoner , I've fixed the bug in the pull request #188. Could you please take a look when you have a chance? Thanks!

  2. FanaticPythoner commented on Oct 20, 2026

    @FanaticPythoner
    Owner

    I'm so sorry for being absent for the last few months. Been dealing with IRL things, which seems to be coming to an end, at last. Will look into it soon. Thank you much for your comprehension.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions