Skip to content

[Bug] #17

Closed
Closed

Description

@bruceloco

Description

focus on tree is fixed to open file, does not allow to open others

Steps to Reproduce

  1. open app
  2. select an md file(i have several on the tree)
  3. focus is on open tab
  4. clicking on the left side tree always shifts to the index of the file that is opened. 1 second or so as you try to go down with the cursor or selecting a file with a mouse, the focus jumps back to the open fileAlso does not allow to open a new file.

Expected Behavior

What you expected to happen.
To select a file and either open it in a new tab

Actual Behavior

Environment

Field Value
OS Debian Chrostini - chromebook container
Terminal tty on chrostini
Image protocol none
Rust version none, installed compiled version
markdown-reader version 1.34.71
mermaid-text version NA
Installation method binary release

Additional Context

NA

Activity

  1. added
    bug
    on Jun 12, 2026
  2. added a commit that references this issue on Jun 17, 2026
  3. leboiko commented on Jun 17, 2026

    @leboiko
    Owner

    Fixed and shipped in v1.34.72 (via #20).

    The file-tree focus fixes are now in a released build — install/upgrade via Homebrew (brew upgrade markdown-reader), cargo install markdown-tui-explorer, the AUR markdown-reader-bin package, or the prebuilt binaries on the release page.

    Verified locally by the regression suite added with the fix (all green): watcher_rediscovery_preserves_user_tree_selection, tree_realigns_only_until_first_alignment, reveal_path_sets_aligned_only_on_a_real_match, and the per-entry-point *_respects_hidden_tree tests. Closing — please reopen if anything resurfaces.

  4. added a commit that references this issue on Aug 5, 2026
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

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions