notepad-plus-plus / notepad-plus-plus/notepad-plus-plus
[BUG] Auto save feature is disable after update
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
I noticed multiple times, the auto save setting gets "automatically" disabled. I suspect this is caused by the updater.
It works find for multiple weeks and then it's off. Usually, I figure it out because Windows did a forced restart at night and Notepad++ is not aware of such reboots.
Alternative issue description:
I usually have one open Notepad++ from start of my PC until reboot. Reboots are only enforced by updates, otherwise my PC (laptop) runs continuously, only interrupted by Windows sleep or hibernate cycles.
It could be possible that Notepad++ doesn't preserve the setting correctly. Or it's not correctly restored on Notepad++ startup.
Steps To Reproduce
- check auto save setting before updating
- update Notepad++
- check auto save setting before updating
Current Behavior
From time to time the auto save setting is gone and needs to be reactivated.
Expected Behavior
The auto save setting should be persistent to prevent data loss especially in combination with forced Windows reboots due to updates.
Debug Information
Notepad++ v8.8.1 (64-bit)
Build time : May 3 2025 - 18:41:09
Scintilla/Lexilla included : 5.5.6/5.4.4
Boost Regex included : 1_85
Path : C:\Program Files\Notepad++\notepad++.exe
Command Line : "C:\Git\PLC2\Training\StopWatch\project\4_WithTiming.runs\impl_1\toplevel.vdi" -multiInst -nosession -x3676 -y1027 -lnormal -n1 -c1
Admin mode : OFF
Local Conf mode : OFF
Cloud Config : OFF
Periodic Backup : OFF
Placeholders : OFF
Scintilla Rendering Mode : SC_TECHNOLOGY_DEFAULT (0)
Multi-instance Mode : monoInst
File Status Auto-Detection : cdEnabledNew (for current file/tab only)
Dark Mode : OFF
OS Name : Windows 11 Pro (64-bit)
OS Version : 24H2
OS Build : 26100.4351
Current ANSI codepage : 1252
Plugins :
ComparePlugin (2.0.2)
MarkdownViewerPlusPlus (0.8.2)
mimeTools (3.1)
NppConverter (4.6)
NppEditorConfig (0.4)
NppExport (0.4)
NPPJSONViewer (1.40)
NppXmlTreeviewPlugin (2)
Anything else?
No response
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
No source file, test, or entry point is named. Start by reproducing the intermittent loss of the auto-save setting across an update and forced restart, then trace where that setting is persisted and restored. Done means the setting remains enabled after updates and restarts, with a regression test covering the failure.
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
- Needs clarification
- Newbie friendliness
- 30/100