Bug: Stems too long when line distance increased on staffs with less than five lines.
A couple of years ago (https://musescore.org/en/node/208931), I reported an issue of stem lengths being too long when the line distance is increased on staffs with fewer than five lines in Musescore 2. The same issue exists in Musescore 3.
The middle staff shows what happens when the line distance is increased from 1sp to 2.25sp. Musescore assumes that every staff has the standard five lines and so it over compensates the note length when staffs have less. In this case, the stem lengths are twice the size of the stems on staffs with unaltered line distance (e.g., first and last staffs).
In the original post, I suggest a couple possible solutions: add an option in staff properties to maintain the orginal note stem length when adjusting line spacing (i.e., unlock the two); and/or have Musescore calculate the increase in note-stem length based on how many actual lines are in the selected staff. "
Comments
What's the point of changing line distance for a staff of only one line? And why should the length of a stem be calculated differently depending on the number of lines? Not sure I agree with that. But I do agree a three-line staff with double-spaced lines shouldn't get double-length stems. I thought I fixed that some time ago. In fact, I know I did: https://github.com/musescore/MuseScore/pull/2159#issuecomment-136840578. But I guess it broke again since then.
The simplist workaround for single line staff is to move the notes above and below the line an additional line over in the Drumset settings and then uncheck "Show ledger lines" in Staff Properties advance style settings. This won't work so well for staff with more than one line. For that, there is a clever workaround in the original post that Ziya Mete Demircan suggested.
In reply to What's the point of changing… by Marc Sabatella
In the example, above I exaggerated the effect, increasing line spacing more than I would normally. The reason why I want to increase the line spacing with just single lines is to provide a little breathing room between the notes above and below a single staff for ease of reading.
In reply to In the example, above I… by Sambaji
I came across this in a percussion book I have and I liked the effect. I've attached a picture of a page from the book. I want to duplicate it in Musescore. The pics is upside down.
Looks like my changes were partially reverted here: https://github.com/musescore/MuseScore/commit/337e885896d793f9893c2b8d4…
Scaling the stem length by line distance was supposed to happen only for tab staves, but now it happens for all. Easy fix.
In reply to Looks like my changes were… by Marc Sabatella
Thanks!!
Instead of using line distance for this purpose, better to use the "extra distance above staff" in staff properties.
In reply to Instead of using line… by Marc Sabatella
I don't see how adjusting the distance above staff would change distance between the staff line and notes. That setting changes the spacing between the staff and the one above it, not the spacing of notes, doesn't it? It's not the staff spacing in the pic but the note-to-staffline spacing I want to replicate.
Oh, sorry, I thought you meant between the notes and the next staff.
https://github.com/musescore/MuseScore/pull/5006
In reply to Looks like my changes were… by Marc Sabatella
Ya, disabling stem length by line distance altogether except for tab staves is a better, simpler approach than what I originally suggested. Thanks for getting on the case and producing the PR, right away.
You're welcome! Obviously, not all bugs get looked at so quickly, but when it's something I had worked on (and knew I had fixed), I get especially interested :-)
Fixed in branch master, commit 3550ff9f06
fix #288976: stems to long on pitched/percussion staves with scaled line distance
Fixed in branch master, commit b8f21788e8
_Merge pull request #5006 from MarcSabatella/288976-stem-line-distance
fix #288976: stems too long on staves with scaled line distance_
In reply to Git webhook message by Git Message
The fix works well. The stem lengths are good. Thanks again.
I know this is a musescore.com issue, and have reported it there (https://musescore.com/groups/improving-musescore-com/discuss/5040152), but I am mentioning it here as well. This issue remains for scores uploaded to musescore.com, see bottom staff. Hopefully, they will update their player to reflect the changes in Musescore 3.1 when it is officially released.
Musescore.com Line Distance Bug.
https://musescore.com/user/4534311/scores/5565269
The issue is fixed in the master branch of the code repository, so will be in the next version, but for sure musescore.com is still using the latest official version 3.0.5, and therefor of course still has the issue.
Automatically closed -- issue fixed for 2 weeks with no activity.