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

Description
Prerequisites
- Have you tried to reproduce the problem in Safe Mode? Yes
- Have you followed all applicable steps in the debugging guide? Yes
- Have you checked the FAQs on the message board for common solutions? It's a new bug, no solutions exist
- Have you checked that your issue isn't already filed? Yes
Discuss topic
Description
The git diff panel gets copied to the active directory on some key strokes. See images.
Steps to Reproduce
Prerequisites: Have a unstaged/uncommited change in git
- Have at least two panes open
- Open git tab open
- Open a git diff panel in one of the panes
- Switch to a different
- [Keyboard] Ctrl+S (Alt-tab also works)
Expected behavior:
Nothing
Actual behavior:
The git diff panel copies into the active pane
Reproduces how often:
100%
Versions
Atom 1.20-beta3 x64 on Ubuntu 17.04
Atom 1.20.0-beta5 on Ubuntu 16.04
Additional Information
Before:

[Alt-tab out, Alt-tab in]

No errors in console
There isn't anything abnormal in the keybinding resolver
Crtl+s only contains core:save
Alt-tab isn't recognized by the resolver (Probably intercepted by my compositor)
Some details from @rsese:
With the Git panel enabled:
- Open some file in a repo and split the pane right.
- Save a change to create an unstaged change.
- Click the unstaged change in the Git panel to open the diff view.
- Click in the pane that doesn't have the diff view in it.
- alt-tab out of Atom and then back into Atom.
The diff view is then duplicated into the pane that didn't have the diff view originally.
GIF-ment:

Can't reproduce on macOS 10.12.6 so tagging as Linux for now.