Font size text appears in the bottom of the score
Nightly October 23 (fc3ea8e) / Windows 7
1. Open "My First Score"
2. Style -> General -> Tick "Hide Empty Staves" -> Ok
3. Return to Style -> General -> Untick "Hide Empty Staves -> Ok
Result: font size text appears in the bottom of the score.
This issue occured on October 22 between this commit, correct :
https://github.com/musescore/MuseScore/commit/e797d3b5f0821fceb664b8161…
and this one (with font size text) :
https://github.com/musescore/MuseScore/commit/75d9e76576a601598c5466f7f…
Priority: normal or minor? I don't know...
Attachment | Size |
---|---|
font size.jpg | 31.14 KB |
Comments
See #32871: Newlines are deleted in the header and the footer
I see the same thing sometimes - see attached score in C. It only appeared after I had been experimenting with system distances from the default. It seems to happen randomly - I can't reproduce it with the original untransposed version also attached.
I'm using 396c44f, running in Wine set as XP. I thought it might be due to using XP (my Wine won't emulate any higher) but apparently not.
With your score "Bach-Flute-Sonata-VI-iv.mscz", I can reproduce the bug with these steps:
- Go to "Style > General... > Score".
- Change the musical symbols font from Emmentaler to Bravura, and click the button "OK".
- Go again to "Style > General... > Score".
- Change the musical symbols font from Bravura to Emmentaler, and click the button "OK".
Priority normal because there are a lot of situations making this bug to occur. Another example is to add text in footer or header. Go to "Style > General... > Header, Footer, Numbers" and add text in one of the textareas, for example:
Apply changes, close the "Edit Style" window and open it again. The textarea now contains:
Click the button "OK" (no need to click "Apply"). The "Edit Style" window will close. Open it again. The textarea now contains:
Font tags are automatically added in textareas each time the "Edit Style" window is open. The regression is with the commit 75d9e76, that fixed the bug #32871: Newlines are deleted in the header and the footer.
Interesting - I didn't ever change the font. It was only the system spacing changes ("Style > General > Page") that produced the bug, and then only after a few experiments when trying to get the best fit for the page.
I can reproduce the bug with your method. However, if I then delete them via the ("Style > General > ...footers"), save and then try to trigger the bug again with your method, it won't do it!
Our posts crossed, so the priority was reset.
guess your posts crossed ...
I can reproduce the bug with your method. However, if I then delete them via the ("Style > General > ...footers"), save and then try to trigger the bug again with your method, it won't do it!
I guess it's because you also deleted the default footer text ("$:copyright:"). This bug occurs only when there's some contain in textareas. By deleting the default contain "$:copyright:", the bug no longer occurs. Add anything in the textarea, even just one letter, and try to reproduce the bug again. You should be able.
The problem arises when the text is set with convertFromHtml after the html text is extracted from the QTextEdit via toHtml(). Indeed, the font for the QTextEdit is not set and it takes the default one and not the one set by the style. It therefore adds the additional font tags.
I proposed a PR which displays the text inside the QTextEdit as html, as it was before, but stores it in the file as MuseScore pseudo-html. Review pending.
https://github.com/musescore/MuseScore/pull/1418
Sorry that I didn't update this issue report.
I don't understand any of this. Is this a bug that has yet to be fixed, or is there a workaround?
It is a bug for which a patch has yet to be reviewed and merged
Is there any ETA on this? It's not critical, but it is highly annoying. It is still there in nightly MuseScoreNightly-2014-11-14-1429-2668d60.7z.
Fixed in fd3aaabb32
Automatically closed -- issue fixed for 2 weeks with no activity.