You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 3, 2023. It is now read-only.
Repository navigation
This repository was archived by the owner on Mar 3, 2023. It is now read-only.
Unsaved modification will be lost when I close multiple windows #11293
Open multiple windows will lost unsaved modification.
Steps to Reproduce
1.Open several Atom Windows.
2.Open a Folder.
3.Write Something and don't save in that window.
4.Close the window that you wrote something.
5.Close the rest of Windows.
6.Open Atom and you will found that the everything has gone.
I found that If you open that folder in the new window, the code will be lost.
Normally,if you open one window,they won't be lost.
and if you open another folder first,then open that folder,everything will come back. Expected behavior: [What you expected to happen]
They should come back. Actual behavior: [What actually happened]
They has gone.
Versions
1.6.0
You can get this information from executing atom --version and apm --version at the command line.
changed the title [-]Open more than one Windows then close them,Some of data that not be saved will be lost[/-][+]Open more than one Windows then close them,Some of unsaved modification will be lost[/+]on Mar 29, 2016
changed the title [-]Open more than one Windows then close them,Some of unsaved modification will be lost[/-][+]Open mutiple Windows then close them,unsaved modification will be lost[/+]on Mar 29, 2016
changed the title [-]Open mutiple Windows then close them,unsaved modification will be lost[/-][+]Unsaved modification will be lost when you close multiple windows [/+]on Mar 29, 2016
changed the title [-]Unsaved modification will be lost when you close multiple windows [/-][+]Unsaved modification will be lost when I close multiple windows [/+]on Mar 29, 2016
I just realized that this is the sole reason I am consistently losing project state (Well in combination with another thing). Heres why:
Do a fast restart of Atom, close Atom and then reopen right away.
Atom opens an empty window because of step 1, maybe not always I don't know, I always thought this was when I lost state and tried to reproduce why it would get lost sometimes when closing.
I accepted lost state and reopened project with ctrl-shift-o from the empty Atom window and this is when I actually lost my project state.
I recently randomly thought about this particular issue when I encountered the above opens empty error and did the working steps and my project state was never actually lost.
I can reproduce this as well on Windows 10 with Atom 1.9.8. Sadly lost a significant pile of notes I now can't reproduce to it.
Where is the information from unsaved windows saved when Atom is closed? At the very least I'd like to try and restore the files somehow (restoring deleted temp files, finding an old cache of the temp file, etc)
My workaround for this issue is to use the project-plus package by @mehcode. Opening projects with project-plus instead of Open Project Folder correctly restores project state.
Thanks for reporting this issue! I was able to repro the issue and saw that there's multiple issues file from similar scenario. I'm going to mark this as dup for #13873 since that captures the underlying issue. We take data-loss scenarios very seriously and are actively working on fixing this issue ASAP. Please subscribe to #13873 for more updates.
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!
Activity
[-]Open more than one Windows then close them,Some of data that not be saved will be lost[/-][+]Open more than one Windows then close them,Some of unsaved modification will be lost[/+][-]Open more than one Windows then close them,Some of unsaved modification will be lost[/-][+]Open mutiple Windows then close them,unsaved modification will be lost[/+][-]Open mutiple Windows then close them,unsaved modification will be lost[/-][+]Unsaved modification will be lost when you close multiple windows [/+][-]Unsaved modification will be lost when you close multiple windows [/-][+]Unsaved modification will be lost when I close multiple windows [/+]chestnutprog commentedon Apr 3, 2016
@jeancroy I have tried 1.7 beta4.This problem persists
Ben3eeE commentedon Apr 14, 2016
Have no problems reproducing this with the provided steps, what I did:
Now two different steps one working one non working.
Conclusion: Saved state for a project folder is only restored when opening a new window and the project folder at the same time.
Windows 7
Atom 1.7.0
Ben3eeE commentedon Jun 3, 2016
I just realized that this is the sole reason I am consistently losing project state (Well in combination with another thing). Heres why:
I recently randomly thought about this particular issue when I encountered the above opens empty error and did the working steps and my project state was never actually lost.
SnoringFrog commentedon Aug 11, 2016
I can reproduce this as well on Windows 10 with Atom 1.9.8. Sadly lost a significant pile of notes I now can't reproduce to it.
Where is the information from unsaved windows saved when Atom is closed? At the very least I'd like to try and restore the files somehow (restoring deleted temp files, finding an old cache of the temp file, etc)
Ben3eeE commentedon Aug 12, 2016
My workaround for this issue is to use the project-plus package by @mehcode. Opening projects with
project-plusinstead ofOpen Project Foldercorrectly restores project state.ungb commentedon Mar 13, 2017
Thanks for reporting this issue! I was able to repro the issue and saw that there's multiple issues file from similar scenario. I'm going to mark this as dup for #13873 since that captures the underlying issue. We take data-loss scenarios very seriously and are actively working on fixing this issue ASAP. Please subscribe to #13873 for more updates.
lock commentedon Apr 2, 2018
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!