musescore / musescore/MuseScore
Clef customization lost when unchecking "show clef" in staff type dialog and then undoing
Open
Nobody has claimed this yet.
P2
UX/interaction
- Dominant language
- C++
- Stars
- 15.1k
- Forks
- 3.3k
- Avg merge
- 2d 2h
- Merged PRs (30d)
- 91
Description
- Create score
- Change the clef in measure 1 to something else
- Right-click the staff and choose "Staff/Part properties"; in the dialog, uncheck "Show clef"; click OK
- Undo
- Expected: back in the situation before step 3, i.e. I have my changed clef back
- Actual: my changed clef doesn't return; instead I get the default one for the instrument in question
Other way:
- Create score
- Change some property of the initial clef, for example make it purple
- Right-click the staff and choose "Staff/Part properties"; in the dialog, uncheck "Show clef"; click OK
- Undo
- Expected: back in the situation before step 3, i.e. I have my purple clef back
- Actual: I get a brand new black clef, instead of my purple one
On a first glance, the code in Measure::addSystemHeader seems to be the problem.
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.