Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

Auto Reveal and Focus On Reveal both being enabled causes editors to lose focus when iterating through them #858

@inancgumus

Description

@inancgumus

If tree-view package disabled, it works fine, but if it's not, when switching between tabs when pressing ctrl+tab it loses the cursor focus. I'd needed to click with my mouse to get cursor focus back.

lose-focus-when-switching-tabs

Repro Steps

  1. Launch Atom in your local atom repository
  2. Open Settings View using Cmd+, on macOS or Ctrl+, on other platforms
  3. Click the Packages tab
  4. Search for "tree-view"
  5. Click the Settings button in the tree-view package card
  6. Ensure that "Auto Reveal" and "Focus On Reveal" are both enabled
  7. Open multiple files from the Tree View
  8. Use Ctrl+Tab or Ctrl+Shift+Tab to iterate through the tabs

Actual: Tree View will have the focus
Expected: Editor should have the focus. The two options (Auto Reveal and Focus on Reveal) should be worded so it is clear that Focus on Reveal is only supposed to affect the behavior of the tree-view:reveal-active-file command.
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions