notepad-plus-plus / notepad-plus-plus/notepad-plus-plus
[Feature request] Better handling of multiple files during flaky network outage (one popup, not many)
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
inspired by Community Forum post
Currently, if multiple files are open from the same network drive, and the drive goes out, then the "Keep non existing file" dialog pops up separately for each file.
Multiple popups for the same network glitch can annoy users. (As the person in the Community Forum said, "It raises my blood pressure.")
Similarly, if Yes is chosen for each to keep all those files in Notepad++, then when the network comes back, it prompts with the Reload dialog for each of those files.
Steps to Reproduce:
The behavior can be simulated by opening files from a directory and then renaming that directory:
- Create two files in a fake "network" directory, and open in Notepad++:
mkdir FakeNetwork echo one > FakeNetwork\one.txt echo two > FakeNetwork\two.txt notepad++ FakeNetwork\*.txt - Simulate a temporary network outage:
ren FakeNetwork x_FakeNetwork - Notepad++ prompts with the "Keep non existing file" dialog individually for each file; say Yes to each of them individually
- Simulate the end of the temporary network outage:
ren x_FakeNetwork FakeNetwork - Notepad++ prompts with the "Reload" dialog individually for each file; say Yes to each of them individually
Now imagine, instead of 2 files disappearing, the "50 files" (similar to the https://github.com/notepad-plus-plus/notepad-plus-plus/issues/12079 use-case)
Describe the solution you'd like.
If multiple files cease to exist at the same time, at step 3 there should four choices -- Yes/No/YesToAll/NoToAll -- to the "Keep non existing file" dialog, to give users the ability to use the same choice for all the files, not having to individually give the same answer multiple times.
If multiple files start to exist again at the same time, at step 5 there should be four choices -- Yes/No/YesToAll/NoToAll -- to the "Reload" dialog, to give users the ability to use the same choice for all the files, not having to individually give the same answer multiple times.
Debug Information
Notepad++ v8.8.3 (64-bit)
Build time : Jul 9 2025 - 01:39:59
Scintilla/Lexilla included : 5.5.7/5.4.5
Boost Regex included : 1_85
Path : C:\usr\local\apps\npp\npp.8.8.3-tabbar\notepad++.exe
Command Line : FakeNetwork\*.txt
Admin mode : OFF
Local Conf mode : ON
Cloud Config : OFF
Periodic Backup : OFF
Placeholders : OFF
Scintilla Rendering Mode : SC_TECHNOLOGY_DIRECTWRITE (1)
Multi-instance Mode : monoInst
File Status Auto-Detection : cdEnabledOld (for all opened files/tabs)
Dark Mode : OFF
Display Info :
primary monitor: 1920x1080, scaling 100%
visible monitors count: 1
installed Display Class adapters:
0000: Description - Intel(R) UHD Graphics 770
0000: DriverVersion - 32.0.101.6556
OS Name : Windows 11 Home (64-bit)
OS Version : 24H2
OS Build : 26100.4652
Current ANSI codepage : 1252
Plugins :
ConfigUpdater (2.2.0.1)
DSpellCheck (1.5)
mimeTools (3.1)
NppConverter (4.6)
NppExport (0.4)
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
Reproduce the outage with the FakeNetwork directory and two opened files, then trace the handling of the "Keep non existing file" and "Reload" dialogs. The change is done when each dialog offers Yes/No/YesToAll/NoToAll and one choice can apply consistently to all files affected by the same outage.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- desktop
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100