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
Description
Prerequisites
- Put an X between the brackets on this line if you have done all of the following:
- Reproduced the problem in Safe Mode: http://flight-manual.atom.io/hacking-atom/sections/debugging/#using-safe-mode
- Followed all applicable steps in the debugging guide: http://flight-manual.atom.io/hacking-atom/sections/debugging/
- Checked the FAQs on the message board for common solutions: https://discuss.atom.io/c/faq
- Checked that your issue isn't already filed: https://github.com/issues?utf8=✓&q=is%3Aissue+user%3Aatom
- Checked that there is not already an Atom package that provides the described functionality: https://atom.io/packages
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
- Open two files
- Drag one of them to the right until editor highlights a right split for it
- Focus the file on the left.
- 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