Skip to content
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.

Atom does not remember last-opened state if a spec window is closed last #15793

@winstliu

Description

@winstliu

Prerequisites

Description

When a normal Atom window as well as an Atom spec window are open, closing the spec window last results in Atom attempting to save the state of the spec window rather than the actual project window. Spec windows should probably be ignored when saving state.

Steps to Reproduce

  1. Open any project
  2. Run specs using the GUI
  3. Close the project window
  4. Close the specs window
  5. atom in terminal

Expected behavior: The project from step 1 to be reopened

Actual behavior: Atom appears un-maximized (same dimensions as the spec window) and with no project state.

Reproduces how often: 100%

Versions

Atom    : 1.23.0-dev-c30cc9bc8
Electron: 1.6.9
Chrome  : 56.0.2924.87
Node    : 7.4.0

Additional Information

This may be harder to reproduce on macOS due to its special Quit behavior.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions