musescore / musescore/MuseScore
[MU4 Issue] Part name text resets when reloading score
@cbjeukendrup is already working on this.
Since Feb 21, 2023.
- Dominant language
- C++
- Stars
- 15.1k
- Forks
- 3.3k
- Avg merge
- 2d 2h
- Merged PRs (30d)
- 91
Description
Describe the bug
Part name text (as in, the text on the page indicating the name of the part) resets to the part name assigned in the Parts menu whenever a score is closed and reloaded.
To Reproduce
Steps to reproduce the behavior:
- Create a new score with one instrument - let's use alto sax
- Go to File, then Parts
- Use "Rename" to rename the part from "Alto Saxophone" to something else, let's call it "Reed 1"
- Open the Reed 1 part, and double click the part name text in the top left to edit it.
- Change "Reed 1" to "Reed 1" (line break) "(Alto Sax., Flute)"
- Save the score
- Close the score
- Reopen the score
- Open the Reed 1 part and see that the text has reverted to just "Reed 1"
Expected behavior
The text should appear as "Reed 1 (Alto Sax., Flute)", as it did when the score was last saved.
Platform information
- OS: Windows 10
Additional context
This bug happens regardless of instrument or names used. The ones used in the steps to reproduce the bug are totally arbitrary. Also, while an obvious solution/workaround may appear to be simply adding the names of the doubled instruments to the part name via the parts menu, this would result in part names that are impractically long in the part tabs at the top of the screen. It is also not possible to enter line breaks in this menu.
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.
Assessment
This issue has not been assessed yet.