notepad-plus-plus / notepad-plus-plus/notepad-plus-plus
[Question] Why should NppParameters::NppParameters() be called after opening a new file via Explorer?
Open
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 29.4k
- Forks
- 5.4k
- PR merge metrics
- No merged PRs in 30d
Description
STR:
Disable Multi-Session.
Start NPP.
Open a file associated with NPP via Windows Explorer.
Result:
NppParameters::NppParameters() is re-called on each file you open.
Is that necessary? Why?
Notepad++ 8.4.2.
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 stated steps with Multi-Session disabled and a file opened through Windows Explorer. Trace when NppParameters::NppParameters() is called for each newly opened file, then determine whether the repeated call is intentional; done requires a documented rationale or a clearly scoped corrective change.
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
- 25/100