No Longer Retaining Settings and Preferences



  • Since NPP updated at the beginning of April, it no longer retains any of the settings or preferences I apply

    For example:

    • list itemWord Wrap will NOT stay on
    • list itemGeneral Settings like DOcument List and Multi-Line will NOT stay on
    • list itemZoom settings go back to 100%
    • list itemDefault Directory will NOT stay
    • list itemWindow position moves each time

    This is annoying beyond belief. I search the Forums and cannot find anything on this.

    Help?

    Michael

    Here is debug info:

    Notepad++ v7.6.6 (32-bit)
    Build time : Apr 3 2019 - 23:49:50
    Path : C:\Program Files (x86)\Notepad++\notepad++.exe
    Admin mode : OFF
    Local Conf mode : OFF
    OS : Windows 10 (64-bit)
    Plugins : none



  • welcome to the notepad++ community, @MickardEMT

    thank you for your detailed information and including your debug info.
    this is a new and unknown issue.
    it would mean that config.xml can not be saved correctly.
    to dig a bit further into it, we would need you to conduct some tests:

    please test the following, to verify, if a clean notepad++ would work on your system.

    • download the notepad++ 7.6.6. portable version from >>> here <<<.
      (the portable version does not require any installation and runs completely independent and isolated from your installed version. all custom settings, as well as any stuff you might want to try at the portable version, will not modify your installed version)

    • extract npp.7.6.6.bin.zip to e.g. your desktop.

    • important note: make sure to close all instances of notepad++ that might be running, before starting the portable version at the next step, to make sure you are using this portable version.

    • open the extracted npp.7.6.6.bin folder and start this portable version by double-clicking on notepad++.exe inside this folder.
      (note: notepad++.exe will just be seen as notepad++, if you have enabled to hide all known file extensions at your explorer settings)

    • test if all your custom settings will be maintained at this portable version, if you close and reopen notepad++ portable.

    important note: the session and config settings will only be saved at notepad++ exit.
    if you have multi-instance active, please make sure that you only perform settings changes, if only a single notepad++ instance is open, as the last notepad++ window will save and eventually override the new settings of a previous window with its own, unmodified settings.

    many thanks and best regards.



  • Meta Chuh

    Thank you. I did that, and it saved everything. Never tried this fix before, but it worked perfectly

    OK, now what is my next step?

    Thanks again for the quick reply and help

    Michael



  • @MickardEMT

    you are very welcome.
    many thanks for trying out the portable version with success.

    the quickest and most reliable way is, to perform a clean and fresh install of notepad++, if you don’t mind a fresh start.

    note: if you do not need any very old plugins, which only exist for 32 bit, you can also switch from your current 32 bit installation to notepad++ 64 bit (large files support up to 2gb, slightly faster) if you want.

    guide for a clean notepad++ 32 or 64 bit (re)install:

    • make sure you have saved all documents, closed notepad++, and you don’t need any specific settings or customisations you have made at your notepad++ 32 bit.

    • uninstall your existing notepad++ 32 bit.

    • open %ProgramFiles(x86)% in windows explorer, and delete the folder Notepad++, if it still exists.

    • open %AppData% in windows explorer, and delete the folder Notepad++, if it still exists.

    • open %LocalAppData% in windows explorer, and delete the folder Don_HO_don.h@free.fr, if it exists.

    • open %ProgramData% in windows explorer, and delete the folder Notepad++, if it exists.

    • notepad++ installation (choose either 32 or 64 bit):

      • 32 bit: download the 32 bit npp.7.6.6.Installer.exe from >>> here <<< and install it.

      • 64 bit: download the 64 bit npp.7.6.6.Installer.x64.exe from >>> here <<< and install it.

    after that, please re-test saving your settings at your fresh install.

    note: if you need to install additional plugins, please use the built in plugins admin at the menu plugins > plugins admin to download currently supported plugins.

    for unsupported but existing plugins, don’t hesitate to ask, as some of them can be installed manually.

    best regards.



  • Meta Chuh

    Thank you! I will need to double-check my plugins. I believe that one of my primary plugins (TextFX) is not compatible with the 32-bit version. But if it is 64-bit compatible I will do a clean install and confirm to you that it works good

    Thank you for the great assistance

    Michael



  • @MickardEMT

    yes, unfortunately textfx is not available as a fully functional 64 bit plugin.
    if you do not need to edit files with a filesize of 300-2048 mb, and you currently need textfx, or eventually other 32 bit only plugins, you are safer with the 32 bit version.

    for anything you would like to test at the 64 bit version of notepad++, you can use a complementary portable 64 bit version.
    (like the 32 bit portable you’ve tried above, but the 64 bit release)
    this is the way i have it. my main install is 7.6.6 32 bit, and additionally i use the 64 bit version, which can reside at the desktop, or at any other folder with write permissions, e.g. C:\PortableApps\Notepad++.

    (note: portable versions must not be copied to %ProgramFiles% or %ProgramFiles(x86)%)