In Volta Properties, if the text is set empty, it is reverted back to "1." This prevents the volta line from being used as a general graphic element, for example.
Workaround: a space works as a volta text and suppresses this bug.
Can you attach the score you are having trouble with and give precise steps to reproduce this? I had no problem setting a volta to empty text when I tried.
Note if you want a generic line, there is one available already - no need to co-opt the volta line for this.
I can't provide any example files because I missed a sentence in the description. It reverts after you save and reopen the file. When you load the file you'll always get "1." in the text if the text was empty when the file was being saved.
I can reproduce in 2.1 and master. The "1." is not stored, but seems "beginText" defaults to that if not set differently.
Culprit seems to be libmscore/volta.cpp, line 174
.
And on write of an empty text no beginText tag is written to the file
Repeat list (the "endings" tag) defaults to empty apparently.
Workaround: either use a text line and enable hooks, or set the volta text to a blank, " "
Removing above mentioned line seems to fix the problem.
Comments
Can you attach the score you are having trouble with and give precise steps to reproduce this? I had no problem setting a volta to empty text when I tried.
Note if you want a generic line, there is one available already - no need to co-opt the volta line for this.
I can't provide any example files because I missed a sentence in the description. It reverts after you save and reopen the file. When you load the file you'll always get "1." in the text if the text was empty when the file was being saved.
I can reproduce in 2.1 and master. The "1." is not stored, but seems "beginText" defaults to that if not set differently.
Culprit seems to be libmscore/volta.cpp, line 174 .
And on write of an empty text no beginText tag is written to the file
Repeat list (the "endings" tag) defaults to empty apparently.
Workaround: either use a text line and enable hooks, or set the volta text to a blank, " "
Removing above mentioned line seems to fix the problem.
See https://github.com/musescore/MuseScore/pull/3194
Fixed in branch master, commit 5aefeb877a
Fix #215876: Empty volta line text is not preserved and reverts to "1."
Fixed in branch master, commit f8e7566e6b
Merge pull request #3194 from Jojo-Schmitz/empty-volta-text
Fix #215876: Empty volta line text is not preserved and reverts to "1."
Fixed in branch 2.2, commit e14d420107
Fix #215876: Empty volta line text is not preserved and reverts to "1."
Automatically closed -- issue fixed for 2 weeks with no activity.