-
Notifications
You must be signed in to change notification settings - Fork 17.3k
Atom CLI triggers OS X Sierra native tabs #12690
Description
Prerequisites
- Can you reproduce the problem in safe mode?
- Are you running the latest version of Atom?
- Did you check the debugging guide?
- Did you check the FAQs on Discuss?
- Are you reporting to the correct repository?
- Did you perform a cursory search to see if your bug or enhancement is already reported?
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
- have a 2 monitor setup
- open terminal (iTerm in my case) full screen on monitor 2
- in terminal
cdto any project - in terminal
atom . - atom opens on monitor 1 (instance 1)
- put instance 1 in OS X fullscreen mode if it is not and keep it in foreground on monitor 1
- in terminal
cdto any other project - in terminal
atom .
Expected behavior: Atom opens instance 2 in a second window (fullscreen optional)
Actual behavior: instance 2 opens in a native tab
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
