Line breaks in intrument name make status bar's height change
Reported version
3.5
Type
Ergonomical (UX)
Frequency
Few
Severity
S4 - Minor
Reproducibility
Always
Status
closed
Regression
No
Workaround
No
Project
When the instrument's full name contains a line break (for example in the Barbershop Quartet default template I often use), each time a element on that staff is selected (rest, note, etc.), the height of the status bar changes.
When the element is deselected, the height of the status bar goes back to normal (1 line).
This is sometimes disturbing to have the status bar and all bottom panels "move" while editing the score.
I would recommend stripping line breaks (or replacing them with a space) in the instrument names in the status bar to keep it 1-line-high.
OS: Debian GNU/Linux 10 (buster), Arch.: x86_64, MuseScore version (64-bit): 3.6.0.316888218, revision: 6b901e7
Fix version
3.6.0
Comments
I've been meaning to add this as either a minor bug or suggestion to improve.
I would like to add a picture of what I'm dealing with.
As you can see, I have very little canvas left visible and worse there are palettes I can only see part of.
I would like to have a look at this and maybe solve it. Do we just want to replace line breaks with spaces? Or would somebody know another solution?
I would be very happy with spaces replacing line breaks. You could truncate it at 20 or so letters and spaces if you like also. I believe that would help with #310485: Status bar forces window width as well.
See https://github.com/musescore/MuseScore/pull/6812
I think spaces are fine. It could also be replaced by slashes to know where the newlines were.
Thanks for your help !
Fixed in branch 3.x, commit c89c62fbe2
_Fix #312357: Line breaks in instrument name make status bar's height change
For the Status Bar, newlines in instrument names are now replaced by spaces, to make sure that the the status bar text will never contain more than one line. Otherwise, the height of the status bar may change, which is not desirable._
Automatically closed -- issue fixed for 2 weeks with no activity.