musescore / musescore/MuseScore
When duplicating parts use numbers instead of repetition of (copy) in the part name
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 15.1k
- Forks
- 3.3k
- Avg merge
- 2d 2h
- Merged PRs (30d)
- 91
Description
Issue type
UX/Interaction bug (incorrect behaviour)
Description with steps to reproduce
- open the Parts menu of any score
- select a part and duplicate it 9 times
Expected behaviour: the ninth copy has a name like [Instrument] - copy 9
Actual behaviour: the ninth copy has this name: [Instrument] (copy) (copy) (copy) (copy) (copy) (copy) (copy) (copy) (copy)
The actual behaviour has a problem: you have a limited number of characters in the name field. This creates the incorrect behaviour in the screen recording.
Supporting files, videos and screenshots
https://github.com/user-attachments/assets/23be09d7-8fff-4816-a0c6-ff83ac86b7ce
What is the latest version of MuseScore Studio where this issue is present?
OS: Windows 10 Version 2009 or later, Arch.: x86_64, MuseScore Studio version (64-bit): 4.4.4-243461245, revision: github-musescore-musescore-2232670
Regression
I was unable to check
Operating system
Windows 10 Pro
Additional context
No response
Checklist
- This report follows the guidelines for reporting bugs and issues
- I have verified that this issue has not been logged before, by searching the issue tracker for similar issues
- I have attached all requested files and information to this report
- I have attempted to identify the root problem as concisely as possible, and have used minimal reproducible examples where possible
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
Start by reproducing the issue from the Parts menu in a score, duplicating one part nine times on the reported MuseScore Studio version. Trace the part-name generation used during duplication; done means the ninth copy uses a numbered name such as “[Instrument] - copy 9” without repeated “(copy)” text or exceeding the name field limit.
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