notepad-plus-plus icon indicating copy to clipboard operation
notepad-plus-plus copied to clipboard

Notepad++ Theme keeps getting reset every time

Open BlannyBlannyBlanc opened this issue 1 year ago • 2 comments

Is there an existing issue for this?

  • [X] I have searched the existing issues

Description of the Issue

My Notepad++ theme keeps getting reset upon opening NPP+ up. I noticed this first happened when attempting to save a file that had write protection, and it asked me to restart it in Administrator mode. Following this, I clicked 'Yes' and restareted in Admin mode... following that, I lost my theme and it reverted to the normal light mode.

Afterwards, I set NPP to Dark Mode in the settings, saved and quit. Afterwards, I started NPP again to edit a file, and it was once again in light mode. My themes are gone, and every time I restart NPP dark mode is gone, too.

Steps To Reproduce

  1. Have a custom theme on your Notepad++
  2. Try to edit a protected file
  3. Restart Notepad++ in Administrator mode when prompted
  4. You should your custom themed colors/layout.
  5. Set NPP into Dark Mode.
  6. Close Notepad++ and open it again
  7. Dark Mode is no longer enabled

Current Behavior

Notepad++ is losing my theme settings when closing and restarting it.

Expected Behavior

Notepad++ retains my themed colors and layout as well as Dark Mode preferences.

Debug Information

Notepad++ v8.6.5   (64-bit)
Build time : Mar 29 2024 - 17:04:43
Path : C:\Program Files\Notepad++\notepad++.exe
Command Line : "D:\Games\Warhammer 40000 Darktide\MicrosoftGame.Config"
Admin mode : OFF
Local Conf mode : OFF
Cloud Config : OFF
Periodic Backup : ON
OS Name : Windows 10 Pro (64-bit
OS Version : 22H2
OS Build : 19045.3803
Current ANSI codepage : 1252
Plugins : 
    ComparePlugin (2.0.2)
    CustomLineNumbers (1.1.7)
    HexEditor (0.9.12)
    mimeTools (3.1)
    NppConverter (4.6)
    NppExport (0.4)
    NPPJSONViewer (1.40)
    SurroundSelection (1.4.1)

Anything else?

This issue seems to have begun with the latest update to Notepad++ which is as of writing this bug report, is v.8.6.5 (64-bit)

BlannyBlannyBlanc avatar Apr 17 '24 14:04 BlannyBlannyBlanc

Same issue here for months now...

Debug Information

Notepad++ v8.5.8 (64-bit) Build time : Oct 15 2023 - 21:43:56 Path : C:\Program Files\Notepad++\notepad++.exe Command Line : "C:\Users\Pedro\AppData\Local\Programs\oh-my-posh\themes\quick-term-pg.omp.json" Admin mode : OFF Local Conf mode : OFF Cloud Config : OFF OS Name : Windows 10 Home N (64-bit) OS Version : 22H2 OS Build : 19045.4894 Current ANSI codepage : 1252 Plugins : mimeTools (2.9) NppConverter (4.5) NppExport (0.4) NPPJSONViewer (1.40)

peetezaah avatar Sep 15 '24 17:09 peetezaah

It fixed itself. :3

BlannyBlannyBlanc avatar Sep 16 '24 08:09 BlannyBlannyBlanc

I've updated to latest 8.7.5 and it started to behave as described - Switch to Administrator mode - openes with theme reset.. then opens in normal mode with all your settings gone...

bravik avatar Feb 24 '25 02:02 bravik

It just happened to me today. It wrongly opened with the default theme and then showed the "An update package is available" message, in case that it's relevant.

ICEknigh7 avatar Aug 19 '25 19:08 ICEknigh7