afrog
afrog copied to clipboard
Restore Previous Windows On Start is not working Atom 1.41.0 macOS
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
With the Core Setting "Restore Previous Windows On Start" set to "yes" or "always", when I click on the Atom Dock icon or run atom
in the terminal my previous project is not restored. An empty editor opens. Interestingly, the previous project that I want to be opened automatically is shown as the most recent entry under File > Reopen Project
Steps to Reproduce
- Make sure the Core Setting "Restore Previous Windows On Start" is set to "yes" or "always"
- Open a folder from File > Open OR Open a project from File > Reopen Project
- Close the Atom window. Optionally (does not make a difference) also quit Atom. (on macOS, so the application does not automatically quit when the window is closed.)
- Click on the Atom icon in the Dock OR run
atom
from the terminal.
Expected behavior:
The previous window will be restored on start.
Actual behavior:
An empty window is opened.
Reproduces how often:
100%
Versions
$ atom --version Atom : 1.41.0 Electron: 4.2.7 Chrome : 69.0.3497.128 Node : 10.11.0
$ apm --version apm 2.4.3 npm 6.2.0 node 10.2.1 x64 atom 1.41.0 python 2.7.16 git 2.20.1
macOS Mojave Version 10.14.6
Additional Information
I found some similar, closed tickets for older versions of Atom. None of the suggestions in them helped. I can reproduce this in safe mode. I have checked permissions for various files and folders. I ran mv ./Library/Application\ Support/Atom/IndexedDB ./Library/Application\ Support/Atom/IndexedDB.backup
to get a new IndexedDB. There are no error or any other messages in the developer console in the new blank window that opens.
I just noticed that while I have a project open, I get this:
$ cat ~/.atom/storage/application.json
{"version":"1","windows":[{"projectRoots":["/path/to/my/project"]}]}
as soon as I close the window, I get this:
$ cat ~/.atom/storage/application.json
{"version":"1","windows":[]}
It seems like this is what Atom needs to re-open the project. Why would it delete it?
I have the exact same problem with macOS Catalina bêta 10.15 (19A573a)
Same problem here, on macOS Catalina 10.15.3. The problem also happens when running Atom in portable mode.
Same issue with macOS Catalina 10.15.4 and Atom 1.46.0. (I've also unchecked "Open Empty Editor Start"
I've had the same experience. I've wasted and hour so will go off and find another editor. I did find that Atom uses IndexedDB and that there should be a directory /Library/Application Support/Atom/ to hold the db, but in spite of permission changes and reinstall, nothing ever appears in this directory. Greg Ambrose
Any fixes for this so far @atom?
Same issue, Arch Linux.
Does this still happen on 1.57.0?
Yep :(
Atom : 1.57.0
Electron: 9.4.4
Chrome : 83.0.4103.122
Node : 12.14.1
Now it works all of a sudden. I didn't change any of Atom's settings, so it probably had something to do with my Arch install. atom --version
's output is still the same.
Guys, same issue here
Atom : 1.57.0 Electron: 9.4.4 Chrome : 83.0.4103.122 Node : 12.14.1 Ubuntu 20.04.2 LTS
Same issue
Atom : 1.58.0 Electron: 9.4.4 Chrome : 83.0.4103.122 Node : 12.14.1 macOS: 11.6
same here:
Atom : 1.58.0 Electron: 9.4.4 Chrome : 83.0.4103.122 Node : 12.14.1 macOS: 12.0.1
Same issue
Same
Atom : 1.58.0 Electron: 9.4.4 Chrome : 83.0.4103.122 Node : 12.14.1 macOS: 11.6
Same Ubuntu 22.04LTS Atom 1.60.0
https://github.blog/2022-06-08-sunsetting-atom/
Not gonna get fixed it seems :( RIP atom
Is it still not fixed? Because it looks like it is not. Version 1.60.0. Linux Mint.