Skip to content
This repository was archived by the owner on Mar 3, 2023. It is now read-only.
This repository was archived by the owner on Mar 3, 2023. It is now read-only.

Rename, reveal in tree view, and show in finder with split files can affect the wrong split  #13617

Closed
atom/tree-view
#1205
@feakuru

Description

@feakuru

Prerequisites

Description

When I open 2 files in horizontal split and try to rename (RMB on file tab -> "Rename") the right one, it shows the name of the left one and renames it, not the right one. Reveal in tree view and show in finder are similarly affected.

Steps to Reproduce

  1. Open two files
  2. Drag one of them to the right until editor highlights a right split for it
  3. Focus the file on the left.
  4. Right-click the file on the right and try to rename it.

Expected behavior: a pop-up appears with an input box for renaming the "right" file

Actual behavior: a pop-up appears with an input box for renaming the "left" file

Reproduces how often: was able to catch it once

Versions

Xubuntu 16.04
atom v6.5.0
apm 1.12.9
npm 3.10.5
node 4.4.5
python 2.7.12
git 2.7.4

Additional Information

none

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions