-
Notifications
You must be signed in to change notification settings - Fork 17.4k
Rename, reveal in tree view, and show in finder with split files can affect the wrong split #13617
Comments
update: i seem to have incorrectly understood the nature of the issue. the renaming of the wrong file happens if the wrong tab is active. however, i still believe that the behaviour discovered is faulty and am not closing the issue. |
I'm also experiencing this (Atom 1.18.0 on MacOS 10.12.5) - contextual menu from right-click appears over the click point, not the active tab. Right click should activate the tab underneath the click, or not display options that can't be performed on an inactive tab (as it does when right-clicking elsewhere in the top of an open pane with tabs). Thanks! |
Updating the issue title and body since the bug includes Reveal in Tree View and Show in Finder |
Part of the problem here is that these menu options do things like;
And the active file is always the one with the cursor, not the one you clicked the menu on. We have some other limitations here with the right-click menu such as if you're not in a file (e.g. in search results) then you won't see these context menu options no matter what you right click on. Basically the menu's contents are controlled by the current active file, not by the context menu target. Options are
|
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
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
The text was updated successfully, but these errors were encountered: