Newer versions not saving files!



  • The last few builds of Notepad++ (I’m running the 64-bit version) are refusing to save files properly. The Save command in the menu is enabled, I can click it, it doesn’t give any errors, and the Save menu option gets disabled, so it looks like it saved, but when I open the file in another editor or upload it to my server, my changes just aren’t there.

    This has been very problematic. I use Notepad++ to write code (PHP, HTML, JS, CSS, etc.) and while debugging I’ve lost literal hours of time trying to track down why a new change (or even a new file) isn’t working. As it turns out, it’s because Notepad++ isn’t saving my files!

    The issue isn’t always 100% consistent, and it is far more common with brand-new files than when editing existing files.

    Has anyone else experienced this?

    I’ve checked file and folder permissions, made sure the files aren’t open in any other application, etc. And I can edit the files just fine in other editors. It has mostly been a problem on my desktop computer, but I’ve seen it happen on my laptop as well.

    Ideas?

    Steps to reproduce:

    1. Open Notepad++.
    2. Select File menu, New command
    3. Enter text into the file.
    4. Click File / Save As, give the file a name. Name and extension don’t seem to matter.
    5. Locate the file in Windows Explorer, open using Notepad.
    6. The file is there, but empty.


  • @doubledeej said in Newer versions not saving files!:

    Has anyone else experienced this?

    Not me and if this would be a general problem I would expect much,
    much, much more reports as this is something which most users would need.
    What about using tools like procmon to see what happens once you save your documents?



  • I was a bit mistaken in my original assessment of the problem. Here are the exact steps, and this is 100% repeatable every single time. It’s still a problem.

    1. Open Notepad++
    2. Select File / New
    3. Enter text into the file.
    4. Click File / Save As, give it a name, and save it.
    5. Make some additional changes in the file.
    6. The Save command is DISABLED under the File menu, so there’s no way to save the updated version of the file.

    It’s definitely broken.



  • @doubledeej said in Newer versions not saving files!:

    I was a bit mistaken in my original assessment of the problem. Here are the exact steps, and this is 100% repeatable every single time. It’s still a problem.
    It’s definitely broken.

    Following those steps, it’s definitely not broken for me. Since that’s a standard workflow, it’s probably not broken for the vast majority of people, since this is the first we’ve heard of it here.

    Now that you know it can work, you will have to investigate what’s different about your situation.

    Please take note of the ideas in this FAQ, which will help you give us more information to help with your problem.



  • Well, I reinstalled N++ v7.8.4 without changing anything else and now it’s working. Must have been something corrupted on my system. Not sure what it could have been – it’s a bone stock installation on a very new system – no plugins, and the only customizations were changing the default font to Consolas and turning on visible White Space and Tabs.

    This has been driving me crazy for weeks. I’m glad I can save files again. I’ve lost many hours of development time over the last two months trying to track down why my code changes didn’t seem to be doing anything. Edit, save, test – no change. More edits, save, test – still no change. Completely bonkers.


Log in to reply