musescore / musescore/MuseScore

[MU4 Issue] Part name text resets when reloading score

Open
#15,523 0 comments 0 reactions 1 assignee View on GitHub

@cbjeukendrup is already working on this.

Since Feb 21, 2023.

parts
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:

  1. Create a new score with one instrument - let's use alto sax
  2. Go to File, then Parts
  3. Use "Rename" to rename the part from "Alto Saxophone" to something else, let's call it "Reed 1"
  4. Open the Reed 1 part, and double click the part name text in the top left to edit it.
  5. Change "Reed 1" to "Reed 1" (line break) "(Alto Sax., Flute)"
  6. Save the score
  7. Close the score
  8. Reopen the score
  9. 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

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.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.