notepad-plus-plus / notepad-plus-plus/notepad-plus-plus

[Question] Why should NppParameters::NppParameters() be called after opening a new file via Explorer?

Open
#11,759 0 comments 0 reactions 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.