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

[Bug] Files can be added to a project multiple times.

Open
#5,359 3 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

Description of the Issue

When adding files to a project the editor should ignore\warn about duplicates and not add the duplicates.

Steps to Reproduce the Issue
  1. Create a project.
  2. Use the context menu to add bunch of files to it.
  3. Repeat step #2 selecting the same files.
Expected Behaviour

Each file should only appear once in the list.

Actual Behaviour

Multiple copies are in the list.

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 problem in the project editor by creating a project, adding files through the context menu, and repeating the same selection. Inspect how project files are added and verify that each file appears only once, with duplicates ignored or reported.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
desktop
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.