-
Notifications
You must be signed in to change notification settings - Fork 17.4k
1.32.0-beta0 replaced open files with empty untitled files after the update #18124
Comments
@CadenP There may have been an incompatible change in the way the state is serialised. If you go to the files in your system's file navigator, they should all be as expected. To fix the issue with Atom, you can try opening with Alternatively, I've found opening a file direclty inside the folder you want to open will trigger a "Use existing saved state or discard" dialogue. Picking the discard option (again, this will clear unsaved changes) will open the folder as expected. For both methods, future openings should behave as expected. If this is not the case, please let us know. |
I was affected too. |
The solution works as advertised. To be clear, for other readers, it does not reopen the original state (which was converted to empty untitled files), but that is understandable. Thanks @Aerijo for the solution, and @p-boiko for the confirmation. And yes, to my knowledge no files were modified by this change. I had ruled that out pretty quickly, so I'm happy to say that there is no lasting effect with this problem - other than losing some notes in some never-saved documents, but I knew the risks of doing that 😄 Should this issue be closed, then? |
Let's leave the issue open for now - just to mention, I can reproduce as described in the OP while upgrading from 1.31.0-beta1 to 1.32.0-beta0 on Windows 10. |
This issue has been automatically locked since there has not been any recent activity after it was closed. If you can still reproduce this issue in Safe Mode then please open a new issue and fill out the entire issue template to ensure that we have enough information to address your issue. Thanks! |
Prerequisites
Description
I just updated to 1.32.0-beta0 from 1.31.0-beta1, and reopened Atom for the first time to find that all of the open files were changed to empty untitled files. From all appearances it had no effect on the files themselves. I had a mixture of open files from within the project, from without the project, and never saved files (used for notetaking). All existing files had no unsaved changes.
Steps to Reproduce
Expected behavior: [What you expect to happen]
Previously opened files are reopened, as per the norm.
Actual behavior: [What actually happens]
Previously opened files are each replaced by an empty "untitled" file.
Reproduces how often: [What percentage of the time does it reproduce?]
I only tried once... So I guess that makes it 100% 😄
Versions
Windows 10 Pro
Version 1803
OS Build 17134.285
Prior to Update:
Atom: 1.31.0-beta1
The rest: ???
Following Update:
atom --version
Atom : 1.32.0-beta0
Electron: 2.0.9
Chrome : 61.0.3163.100
Node : 8.9.3
apm --version
apm 2.1.2
npm 6.2.0
node 8.9.3 x64
atom 1.32.0-beta0
python
git 2.18.0.windows.1
visual studio
Additional Information
Any additional information, configuration or data that might be necessary to reproduce the issue.
A screenshot of the result:
I also tried disabling TreeSitter (because I previously disabled it for
language-babel
and the update re-enabled it) and reopened Atom, but that had no effect.Packages installed:
The text was updated successfully, but these errors were encountered: