notepad-plus-plus / notepad-plus-plus/notepad-plus-plus
Notepad++ Theme keeps getting reset every time
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 29.4k
- Forks
- 5.4k
- PR merge metrics
- No merged PRs in 30d
Description
Is there an existing issue for this?
- 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
- Have a custom theme on your Notepad++
- Try to edit a protected file
- Restart Notepad++ in Administrator mode when prompted
- You should your custom themed colors/layout.
- Set NPP into Dark Mode.
- Close Notepad++ and open it again
- 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)
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the reported sequence in Notepad++ v8.6.5 on Windows: edit a protected file, restart in Administrator mode, enable Dark Mode, close, and reopen. Trace where theme and Dark Mode preferences are saved and loaded; done means custom colors, layout, and Dark Mode persist after restart.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100