Updates and restarting removes settings
ILoveSkilledCoders last edited by
I’m new to the community and switched to Notepad++ from notepad last year.
I have noticed a couple of bugs and I think I also had these bugs on Win 7 & now I’m on a laptop using Win 8.1
- There was an update today & after the update my multi line was unchecked in settings.
This is not the first time I’ve had this issue even without an update (I think). It sometimes happens after a restart.
Once before I literally lost tons of tabs (I call them tabs) & had to restore them from my computer. I’m not even sure they were up-to-date & that really stressed me out.
Today also because of the update wordwrap was no longer checked off.
I hope you can fix them & thank you for all of your hard work.
PeterJones last edited by
Regarding options getting unchecked (#1 and #3): that doesn’t happen in 99%+ of the cases. No one who has complained in the forum about settings being changed has ever provided an exact set of circumstances (upgrading from vX.Y.Z TO vA.B.C, this exact sequence, with other circumstances PDQ) in such a way that anyone can reliably repeat their experience of losing settings to be able to debug what’s going on. The Notepad++ installer is programmed to not replace existing settings files. Until someone can share a way that triggers the options-getting-deleted every time, the developers will not be able to investigate the problem, let alone debug and fix it.
Regarding losing tabs (#2): if you had a crash or Windows rebooted for an update without correctly notifying Notepad++ of the shutdown, then sometimes session.xml will be corrupted/erased, “losing the tabs”. There is a recent conversation on this issue here: if your version of Notepad++ was recent enough (v18.104.22.168 or newer), then when it crashed, Notepad++ created a file called
%AppData%\Notepad++\directory – if you can grab that file and paste its contents , then that will give developers something to work with in terms of figuring out why the session was corrupted.
As linked in that topic, and posted originally in this post, there is a script available that will try to recreate your session from the session-snapshot+periodic-backup directory – though that will only restore the unsaved/unnamed files, not any that were saved-and-unedited when the crash occurred. (It needs to be run right after the crash, not after you’ve already rebuilt your active-tabs list.)
I hope you can fix them
As our Feature Request / Bug Report FAQ explains, this forum is a Community Forum – ie, it’s made up of fellow users of Notepad++, not the developers. We can help confirm problems, and either explain the right way to do things or confirm that there is a bug, but when it comes to the point that there is a confirmed bug, you need to follow the instructions in the FAQ to make an official Feature Request or Bug Report issue in the right location that the developers will see and track it, because this Community of users cannot change the codebase for you.
SullyPanda76cl last edited by
@PeterJones well, actually there’s a 10-yr old bug that can explain this:
Installation does not preserve the “do not use %appdata%” setting.
So if you installed with that option, and then when upgrading you forget to check that option again, your settings will be lost (to be exact, they will still be in your HDD, but N++ will search for them elsewhere)