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.

Git tab stays empty when adding a git project and then toggling the Git tab #1718

Open
@rsese

Description

@rsese

Prerequisites

Description

Split out from #1566 (comment): if you open a git project and then toggle the Git tab before opening a file, the Git tab stays empty even after you click on a project file. Toggling it off and on doesn't make it active but if you explicitly close it and then toggle it on, it starts working.

Steps to Reproduce

Start Atom in safe mode and then:

  1. Add a Git project with Application: Add Project Folder
  2. Toggle the Git tab with GitHub: Toggle Git Tab
  3. Double click on one of the project files

The project opened needs to have no files open from saved state, otherwise things work fine.

Expected behavior:

Expect to see the Git tab UI.

Actual behavior:

See a blank Git tab. In 1.29, the Git tab UI showed after step (2).

GIF-age-ment:

empty-git-tab

Reproduces how often:

100%

Versions

Looks like this started in 1.30 and also reproduces in Atom 1.33.0-nightly7.

macOS 10.12.6

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugpapercutSmall-scope issues and bugs we can use to backfill our sprint planstriaged

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions