musescore / musescore/MuseScore

[MU4 Issue] Instrument search option should be limited to instrument name

Open
#14,516 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

instruments P3
Dominant language
C++
Stars
15.1k
Forks
3.3k
Avg merge
2d 2h
Merged PRs (30d)
91

Description

Describe the bug
When I search for an instrument and type in some characters, the return instrument list contains instruments which do not match my search criteria as the full text string in the instrument dialog is included in the search.
In MU3 only the instrument name was used for searching.

Example, when I search for the clarinet, you start by type cl. At this point you also get all instruments in the list which have the "treble cleff" indication in the list.

To Reproduce
Steps to reproduce the behavior:

  1. Start a new score
  2. In choose instruments, type cl in the search box

Expected behavior
Only search in the instrument name.

Screenshots
If applicable, add screenshots to help explain your problem.
image

Platform information

  • OS: Windows 10

Additional context
Add any other context about the problem here.

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 issue from the Choose Instruments dialog by starting a new score and searching for “cl”. Trace the dialog’s search entry point and check whether matching uses the full instrument text or only the instrument name. Done means results for “cl” exclude instruments matched only through indications such as “treble clef”.

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
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.