afrog icon indicating copy to clipboard operation
afrog copied to clipboard

Cannot See Atom Window with macOS 10.13.6

Open elvinos opened this issue 6 years ago • 80 comments

Prerequisites

  • [ X] Put an X between the brackets on this line if you have done all of the following:
    • Reproduced the problem in Safe Mode: https://flight-manual.atom.io/hacking-atom/sections/debugging/#using-safe-mode
    • Followed all applicable steps in the debugging guide: https://flight-manual.atom.io/hacking-atom/sections/debugging/
    • Checked the FAQs on the message board for common solutions: https://discuss.atom.io/c/faq
    • Checked that your issue isn't already filed: https://github.com/issues?utf8=✓&q=is%3Aissue+user%3Aatom
    • Checked that there is not already an Atom package that provides the described functionality: https://atom.io/packages

Description

Atom will startup but fail to load any windows when trying to use the program. This issue occurs both in safe mode and normal. I have downgraded to 1.27.2 where atom works fine again. Potentially a problem with the latest electron upgrade or the fact that I am using macOS 10.13.6 as the issue was noticed around the time the OS was updated.

Steps to Reproduce

  1. Open atom
  2. Applications boots but no windows are visible. I have tried opening files and using the command line to reset the view but to no prevail
  3. Behaviour is repeated in safe mode
  4. I have tried all three versions of 1.28 without any success

Expected behavior: [What you expect to happen] Can see the editing screen

Actual behavior: [What actually happens] App boots but no screen loads, repeated in safe mode. Unable to use software

Reproduces how often: [What percentage of the time does it reproduce?] All the time, the application now unusable.

Versions

  • 1.28.0
  • 1.28.1
  • 1.28.2

This is the second time I have posted this as the issue was closed with no success. Please let me know what other information I can provide to help replicate the bug.

elvinos avatar Jul 22 '18 15:07 elvinos

Could you give us the output of running atom --foreground with any of the 1.28.0 releases?

daviwil avatar Jul 22 '18 19:07 daviwil

I'm having the same issue (i'm quite a novice with this stuff so sorry if it doesn't help). I've installed the shell commands, with atom open i've run the atom --foreground command in terminal but get no output - a new instance of atom opens in the launcher but immediately shuts - no windows visible. screen shot 2018-08-01 at 21 00 23

ghost avatar Aug 01 '18 20:08 ghost

@daneuesden - what version of Atom did you install (does atom -v work?) and what version of macOS are you running?

Also, did you try safe mode or temporarily resetting to factory defaults?

You mentioned that you installed the shell commands so just to clarify, Atom worked for you at some point but then stopped working?

rsese avatar Aug 01 '18 21:08 rsese

@rsese - atom -v does work, output below;

Atom    : 1.29.0
Electron: 2.0.5
Chrome  : 61.0.3163.100
Node    : 8.9.3

Actually i've also noticed this is on 1.29 build whereas this issue is 1.28.

I'm running Mac OS version 13.10.6.

I've just tried safe mode and temp. resetting factory defaults and can still reproduce the problem. For each i quit any running instance of Atom and then tried the steps described.

Atom worked prior to the 13.10.6 release but since the OS upgrade it's opened but no windows show as initially reported.

ghost avatar Aug 02 '18 08:08 ghost

screenshot

Atom foreground yields the same results for me as @daneuesden. An instance of atom loads but no visible window appears. This is with:

  • Atom : 1.29.0
  • Electron: 2.0.5
  • Chrome : 61.0.3163.100
  • Node: 8.9.3 atom --safe also has exactly the same result

elvinos avatar Aug 02 '18 09:08 elvinos

It looks like slightly different in both cases though since @elvinos for you atom --foreground doesn't exit (based on your screenshot) but it does in @daneuesden's case?

Do either of you see any crash reports?

https://flight-manual.atom.io/hacking-atom/sections/debugging/#find-crash-logs

@elvinos in your case, is there a dock item active for Atom after you start it? And can you cmd-tab to the application and see the menu bar?

rsese avatar Aug 02 '18 19:08 rsese

@rsese I don't see any crash reports, Atom doesn't actually crash per-se. The dock icon is still active in the launcher window (and menu bar is visible) and is theoretically running with no problem but you can't see any of the windows.

Screenshot of console.app report list for reference; screen shot 2018-08-03 at 09 24 01

ghost avatar Aug 03 '18 08:08 ghost

@rsese I don't see any crash reports, Atom doesn't actually crash per-se. The dock icon is still active in the launcher window (and menu bar is visible) and is theoretically running with no problem but you can't see any of the windows.

@daneuesden - is the menu bar completely visible with "File, Edit, View", etc.? Can you do things like File > New Window and the window is listed under the Window menu item?

rsese avatar Aug 03 '18 20:08 rsese

@rsese yes that's correct. I can see the full menu bar. Opening a new Windows lists it in the dock icon. Not explicitly looked in the window menu though

ghost avatar Aug 03 '18 21:08 ghost

I am suffering from the same symptoms as @daneuesden. The app doesn't crash, you can see the dock item and the menu bar when it loads but no actual window will load.

elvinos avatar Aug 06 '18 14:08 elvinos

Opening a new Windows lists it in the dock icon.

Hmmm, similarly is there anything in the Window menu that would indicate that a window is open @elvinos @daneuesden? If you click on Window > Zoom does that bring up any window?

rsese avatar Aug 06 '18 20:08 rsese

Oh one more thing - when you start Atom, do you notice any Atom-related entries in /var/log/system.log? There's one or 2 issues a while back where there actually was useful information there.

rsese avatar Aug 06 '18 22:08 rsese

@rsese I see nothing in the /var/log/system.log file, however, using Window > Zoom does resolve the issue although i'd tried the bring all to front with no success.

On repeated opens it now seems to be fine after using Zoom so i'm happy 👍

For reference this is what i was seeing in the menu when i created a new file (but couldn't see it previously)

screen shot 2018-08-07 at 13 18 27

ghost avatar Aug 07 '18 12:08 ghost

Ahhh great, thanks for confirming @daneuesden :+1: Based on the description, it sounded like things were working but the windows were just not visible for some reason. @elvinos @marco-brandizi - can you try the suggestion above and see if that helps?

rsese avatar Aug 07 '18 17:08 rsese

I believe that I'm having the same problem--after you close all Atom windows, File > Open..., File > Add Project Folder..., and File > Reopen Project menu items do nothing. You have to select either File > New Window or File > New File first, and once those pop up a window, then the other File menu options work as expected. It's disorienting.

jrtibbetts avatar Aug 08 '18 00:08 jrtibbetts

That's https://github.com/atom/atom/issues/12508 @jrtibbetts but you did find the the pull request opened to resolve that issue if you want to subscribe there.

rsese avatar Aug 08 '18 05:08 rsese

@rsese, nope, I initially see the main window, but then there are a lot of menu items and other actions (About, Licence, reopen last project folder, drag&drop files from Finder) that don't produce any effect. I had already tried the Exposè functions, but there isn't any hidden window and some functions (eg, drag&drop) aren't supposed to open new windows.

marco-brandizi avatar Aug 09 '18 11:08 marco-brandizi

After clicking the Zoom button in the menu bar, the problem seems to have been resolved.

It is strange how trying just about anything else seem to have no effect in making the windows visible.

Anyway thanks Team Atom for the help!

elvinos avatar Aug 10 '18 15:08 elvinos

Glad that solved the issue for you! I think we should keep this issue open though in case there's a regression in Atom causing this problem.

daviwil avatar Aug 10 '18 16:08 daviwil

Thank you! This seems to be related to chromium & mac os 10.13.6 as the "zoom" helped me fix my hidden windows for atom, electron dev tools, and postman

stoneG avatar Aug 14 '18 22:08 stoneG

I have a similar. I am running on a Mac os 10.14.2 and I cannot open any window in Atom. The only thing that appears in the menu bar is 'Atom'. And if I select it, I only see 'Quit'.

Any help? Thanks

ghost avatar Dec 30 '18 11:12 ghost

@juliauser - that sounds like a different issue than what's reported here. Go ahead and open a new issue and fill out the issue template and we can take a look.

rsese avatar Jan 02 '19 18:01 rsese

Not sure if this helps anyone but I was getting this same error with Atom starting-up (I am running macOS Mojave Version 10.14.1 with Atom 1.34.0 x64) and I ran atom --foreground. Turns out there was an error in my config.json file. I can't tell you exactly what might be an issue with yours if you are having the same problem but running 1atom --foreground1 gave me an error so I could pinpoint the issue.

venusang avatar Feb 05 '19 03:02 venusang

@rsese

I have a similar. I am running on a Mac os 10.14.2 and I cannot open any window in Atom. The only thing that appears in the menu bar is 'Atom'. And if I select it, I only see 'Quit'.

Any help? Thanks

Same problem.

Atom : 1.35.1 Electron: 2.0.18 Chrome : 61.0.3163.100 Node : 8.9.3

In macOS High Sierra 10.13.16

kaos:~/ $ atom --foreground [20:15:13] 2019-03-18 20:16:42.498 Atom[1115:98628] Syntax error on line 4, column 15: Unexpected IdentifierLiteral 2019-03-18 20:16:42.499 Atom[1115:98628] SyntaxError: Syntax error on line 4, column 15: Unexpected IdentifierLiteral at transformNode (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/cson-parser/lib/parse.js:214:13) at Value (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/cson-parser/lib/parse.js:97:12) at transformNode (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/cson-parser/lib/parse.js:216:12) at addProperty (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/cson-parser/lib/parse.js:147:15) at Array.reduce (:null:null) at Obj (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/cson-parser/lib/parse.js:140:28) at transformNode (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/cson-parser/lib/parse.js:216:12) at Value (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/cson-parser/lib/parse.js:97:12) at transformNode (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/cson-parser/lib/parse.js:216:12) at addProperty (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/cson-parser/lib/parse.js:147:15) at Array.reduce (:null:null) at Obj (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/cson-parser/lib/parse.js:140:28) at transformNode (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/cson-parser/lib/parse.js:216:12) at Value (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/cson-parser/lib/parse.js:97:12) at transformNode (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/cson-parser/lib/parse.js:216:12) at addProperty (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/cson-parser/lib/parse.js:147:15) at Array.reduce (:null:null) at Obj (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/cson-parser/lib/parse.js:140:28) at transformNode (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/cson-parser/lib/parse.js:216:12) at Value (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/cson-parser/lib/parse.js:97:12) at transformNode (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/cson-parser/lib/parse.js:216:12) at addProperty (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/cson-parser/lib/parse.js:147:15) at Array.reduce (:null:null) at Obj (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/cson-parser/lib/parse.js:140:28) at transformNode (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/cson-parser/lib/parse.js:216:12) at Value (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/cson-parser/lib/parse.js:97:12) at transformNode (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/cson-parser/lib/parse.js:216:12) at Block (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/cson-parser/lib/parse.js:94:12) at transformNode (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/cson-parser/lib/parse.js:216:12) at Object.parse (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/cson-parser/lib/parse.js:222:16) at parseObject (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/season/lib/cson.js:42:23) at parseContentsSync (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/season/lib/cson.js:68:16) at Object.readFileSync (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/season/lib/cson.js:180:14) at getConfig (/Applications/Atom.app/Contents/Resources/app.asar/src/main-process/start.js:117:33) at start (/Applications/Atom.app/Contents/Resources/app.asar/src/main-process/start.js:47:18) at Object. (/Applications/Atom.app/Contents/Resources/app.asar/src/main-process/main.js:62:1) at Object. (/Applications/Atom.app/Contents/Resources/app.asar/src/main-process/main.js:64:3) at Module._compile (module.js:642:30) at Object.Module._extensions..js (module.js:653:10) at Module.load (module.js:561:32) at tryModuleLoad (module.js:504:12) at Function.Module._load (module.js:496:3) at Object. (/Applications/Atom.app/Contents/Resources/electron.asar/browser/init.js:186:8) at Object. (/Applications/Atom.app/Contents/Resources/electron.asar/browser/init.js:188:3) at Module._compile (module.js:642:30) at Object.Module._extensions..js (module.js:653:10) at Module.load (module.js:561:32) at tryModuleLoad (module.js:504:12) at Function.Module._load (module.js:496:3) at Function.Module.runMain (module.js:683:10) at startup (bootstrap_node.js:196:16) at bootstrap_node.js:622:3

jucavi avatar Mar 18 '19 19:03 jucavi

Captura de pantalla 2019-03-18 a las 20 30 37

jucavi avatar Mar 18 '19 19:03 jucavi

@jucavi - your issue looks different since you're getting an error and the problem of the initial report was resolved by zooming the window.

Also, your screenshot shows the command was run as atom --save, it should be atom --safe. If atom --safe doesn't help, I'd suggest temporarily resetting to factory defaults.

If you still have trouble after that, feel free to post on the official message board and @ mention me there and we can take a look together.

rsese avatar Mar 19 '19 01:03 rsese

If you click Window->Zoom it comes back.

claudioasfilho avatar Mar 20 '19 15:03 claudioasfilho

Just FYI I'm on MacOS Mojave -- 10.14.3 with Atom : 1.35.1 Electron: 2.0.18 Chrome : 61.0.3163.100 Node : 8.9.3

I was still getting this problem. The zoom trick kinda worked, as in it opened the current project only, not other open projects and you had to do it every time to opened the project. Also, reopen project did not work at all, not even with the zoom trick. I had to open the project again and then click zoom. Reopen + zoom did nothing. However the zoom trick gave me access to preferences and updates again and after running updates of installed packages Atom seems to work fine again. If I'd known that would happen I'd have paid more attention to what packages were updated and be able to tell you...but I didn't. All I can tell you is there were 8 of them. If it happens again I'll pay more attention, but if this works for others maybe they can too.

grantkruger avatar Mar 28 '19 18:03 grantkruger

Screen Shot 2019-08-14 at 1 38 53 PM I faced same issue. But I was able to fix it by following below steps:

  1. Go to View > Show all tabs

This will pop up all the tabs. Then you can use Atom normally.

Thanks! Arun

arunmummidi avatar Aug 14 '19 04:08 arunmummidi

I observed that the window size of atom had been reduced so much that it couldn't be noticeable or open. You can go to views -> Toggle Full screen and then resize the window again.

ashwanijha04 avatar Aug 19 '19 05:08 ashwanijha04