Ledger lines do not change color with staff

• Jun 18, 2015 - 17:53
Reported version
3.0
Type
Functional
Severity
S4 - Minor
Status
closed
Project

First reported at https://musescore.org/en/node/65651. To reproduce, create a new score, add a note above or below the staff to create ledger lines, change the staff's color in Staff Properties. Result: the ledger lines remain black.

Perhaps the fix could also take a look at #63851: Add rounded corners to ledger lines instead of straight corners.


Comments

Hmm, I'm not so sure I wouldn't expect the ledger lines to inherit the color of the *note*. At least, it's far more common to change note color than to change staff line color, and I would guess that a significant amount of the time, people would want the ledger line color to change with the note. Although I'd guess a significant amount of the time you wouldn't. So pretty much whatever we do is what the user expects sometimers, not what he wants at other times. Probably best to somehow allow for both behaviors - ledger lines inherit color from note or from staff lines. A complication with inheriting from the note is that the same ledger line might be needed for multiple notes in a chord. I think that sort of thing explains some other apparently inconsistencies in how ledger lines are treated - they are really more specific to the chord than the note. And since different notes in a chord can have different colors, there would be no straightforward way to model this, except maybe a "Ledger line color" control under the Chord section of the Inspecotr.

or maybe I'm wrong and really everyone who deals with multiple-colored scores does expect ledger lines to get their color from the staff lines and not from the note - would be interesting to see forum discussion on this topic to see what real world use cases exist.

Well, sure the staff lines don't - they are consistent throughout the score, not drawn separately for each note. Ledger lines are different - they are drawn for specific notes, so its certainly possible that some use cases for colored notes would expect the ledger lines that are drawn just for those notes to also get the same color. Unless we know for sure that these use cases do not exist, we shouldn't shouldn't be deciding this without asking users what is actually the desired behavior for their use cases.