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 CLI triggers OS X Sierra native tabs #12690

@moeriki

Description

@moeriki

Prerequisites

For more information on how to write a good bug report or enhancement request, see the CONTRIBUTING guide.

Description

When opening a second atom window from the CLI it triggers OS X Sierra native tabs in some case(s?). I could reproduce this in safe mode and after a factory-defaults reset.

This may or may not be an Electron issue though I could not produce it in another Electron app.

Steps to Reproduce

  1. have a 2 monitor setup
  2. open terminal (iTerm in my case) full screen on monitor 2
  3. in terminal cd to any project
  4. in terminal atom .
  5. atom opens on monitor 1 (instance 1)
  6. put instance 1 in OS X fullscreen mode if it is not and keep it in foreground on monitor 1
  7. in terminal cd to any other project
  8. in terminal atom .

Expected behavior: Atom opens instance 2 in a second window (fullscreen optional)

Actual behavior: instance 2 opens in a native tab

atom-native-tabs

Work-around: in step 6, make sure atom is nowhere in foreground

Notes: AFAIK issue could not be produced with one monitor, considering you need atom in fullscreen foreground to trigger this issue. If you have a terminal that can overlay your fullscreen Atom I'm guessing you can also produce this issue.

Versions

macOS Sierra 10.12 GM

Atom    : 1.10.2
Electron: 0.37.8
Chrome  : 49.0.2623.75
Node    : 5.10.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    electronmacIssues that occur on macOS but not on other platforms.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions