Newlines are deleted in the header and the footer
Configuration
MuseScore 2 Beta 1 on Windows 7 (in VirtualBox).
Steps
- Create a new score.
- Go to Style > General... > Header, Footer, Numbers and put in any textarea some text containing newlines. For example, put the following in the Footer > Middle > Odd textarea:
Line 1 Line 2 Line 3
- Click on Apply and close the Edit Style window.
Results so far: no bug. Newlines are correctly displayed in the footer.
- Now, go again to Style > General... > Header, Footer, Numbers.
Results: the bug occurs. Our three lines appears in the Footer > Middle > Odd textarea as only one line:
Line 1 Line 2 Line 3
If we click OK to close the Edit Style window, our three lines are now displayed as only one line in the footer.
Comments
Already reported in http://musescore.org/en/node/26851, although yours is more descriptive and general.
Fixed in 75d9e76576
I reopen this report because there's regression with the commit 75d9e76576. Header and footer font face and font point size no longer apply. Example with footer: go to Style > Text... > Footer. The default text size is 8, but it has no effects. The problem is caused by tags
font
automatically added in textareas each time the Edit Style window is open. For example, add the following as middle odd footer:Apply changes, close the Edit Style window and open it again. The footer textarea now contains:
Click the button OK (no need to click Apply). The Edit Style window will close. Open it again. The footer textarea now contains:
Do it another time and it will contain:
Etc.
See #37621: Font size text appears in the bottom of the score
Let's close this report because the original problem (newlines are deleted in the header and the footer) is fixed. The regression caused by the commit 75d9e76 (font tags automatically added in several situations) is described in the new report #37621: Font size text appears in the bottom of the score.
Automatically closed -- issue fixed for 2 weeks with no activity.