-
Notifications
You must be signed in to change notification settings - Fork 4.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Notepad ++ crashes in case of temporary files is opened in notepad++ and system shuts down #2730
Comments
I'm not sure if this is the same, but whenever my Windows forces an unattended restart to apply updates, I lose all unsaved content (tabs for new and temporary files are gone, "regular" files are reopened but unsaved changes are lost). If on the other hand, I just close Notepad++ (or even kill it hard through Task Manager), all unsaved content is restored from session. |
@kushalagrawal Does it really crash? From the rest of your message it looks like the problem is "just" that the now-missing files are ignored when reloading the session. |
@creckord Does Notepad++ crash whenever that (unattended restarts to apply updates) happens? Does it display the various messages that an exception occurred, that it will attempt to save any unsaved data etc.? P.S. I'm not sure what you mean with unattended restarts, if you mean you're not in front of the PC I guess you can't verify this... |
Yes, I saw the same thing today. It appeared to happen same way as @creckord N++ Auto-backup work(ed) flawless for me for over a year. |
It's not a crash issue. |
As mentioned, my behavior was same as @creckord Feb 1 I have no evidence it was a crash. But Windows forced an unattended restart. Granted the Subject line of this original issue may have been a misnomer. |
After just losing files for yet another time upon Windows restart, I dug around a bit, and I think I found out what went wrong for me: Sometimes, I lose my session backup configuration settings.
I'm currently working around this by restoring the setting in config.xml via sed whenever the Git editor exits. Is there a way to separate the configs, e.g. specifying a separate config folder, or to tell Notepad++ that this is a one-off instance and it shouldn't persist config? |
Fix by 6000f3b |
Description of the Issue
Notepad ++ crashes in case of temporary files is opened in notepad++ and system shuts down.
Steps to Reproduce the Issue
Expected Behavior
Tabs should remain open whenever next time i open notepad++. which is default functionality of it.
Actual Behavior
there are no tabs open which is available in normal case when you restart your system.
Debug Information
The text was updated successfully, but these errors were encountered: