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.

Unstaged changes view pops up unexpectedly when switching panes #1287

Description

@maxbrunsfeld

Description

Sometimes, when changing focus from a diff view in one pane to a text editor in another pane, another diff view unexpectedly pops up.

Steps to Reproduce

  1. Add multiple project folders, each of which are a git repository (say atom and github).
  2. Open a diff view for a file in the atom repository.
  3. Change focus to another pane in which a file from github is open.
  4. A diff view for the first modified file in the github repository opens unexpectedly.

diff-view

Expected behavior:

It seems like diff views should only open when I directly perform some action in the commit panel. They shouldn't open in response to other unrelated events like changing focus to a text editor.

Actual behavior:

Diff views spontaneously open when changing focus to a pane containing a text editor.

Reproduces how often:

Unfortunately, this seems to depend on some sequence of events that I don't fully understand. I can't always get it to happen.

Versions

Atom    : 1.25.0-dev-3d8902d52
Electron: 1.7.10
Chrome  : 58.0.3029.110
Node    : 7.9.0

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions