Adding a piano atop other instruments spans brace and barlines to next instrument
Reported version
3.1
Type
Functional
Frequency
Once
Severity
S4 - Minor
Reproducibility
Always
Status
active
Regression
Yes
Workaround
Yes
Project
Came up in https://musescore.org/en/node/309883.
In MuseScore 3.x, open the file that's attached to this particular reply, not the original file I posted to illustrate the bug.
- Once the file is open, type "i" to open the instruments dialogue.
- Click the arrow by "keyboards" and then click on "Piano." Click the "Add" button.
- Click the up-arrow button in the middle of the dialogue several times to move the new Piano instrument to the top of the list.
- Click on "Staff 2" to select it, and then click the "Remove" button.
- Click "OK" at the bottom of the dialogue.
Observe that despite your having told MuseScore that you wanted just a treble-clef single piano staff, you now have the treble-clef staff you asked for, but it is joined in a grand staff with the Violin staff that was already present.
Workaround is to remove the brace and shorten the barline
Attachment | Size |
---|---|
test_bug_deleteme.mscz | 32.33 KB |
Comments
Problem introduced on May 20, 2019.
Somewhere between this nightly (works as expected): 1691755
and this one (unexpected result): aa81f8d
So starts with 3.1 at least, thanks
Unfortunatly quite a big merge fest on 20 May 2019
This one, maybe ? https://github.com/musescore/MuseScore/commit/1b349c171e214537f75185666…
To fix: #287617: Double barlines span to next staff when instrument inserted
Indeed quite likely
For the record, the glitch doesn't occur specifically by adding a one-line piano, also a piano (grand staff) strictly said.
See: SATB + piano added/moved to the top: piano.mscz
Oops, yes. At least as far as the barlines are concerned. Not the brace though
See also #290696: Barlines not spanning stave in added piano stave , esp. this comment
Reported against 3.1...
As mentioned, the behavior is little better if you just add a normal piano without deleting the second staff - the bracket is correct but you still have an extra span.
I guess this is all being rewritten for MuseScore 4, will be interesting to see if they solve this there. It's tricky to get right, really, because really we are just guessing as to whether the new instrument should be bracketed with others or not. We're basing the decision on the staff above, which is sometimes the right thing, other times not.
Related to #311175: [EPIC] Engraving issues and suggestions
Here is a simple workaround until the bug is fixed...
I saved my file using the ".mscx" uncompressed format, opened it with emacs (or any text editor) and deleted the 2 lines containing:
<bracket type="1" span="1" col="0"/>
<barLineSpan>1</barLineSpan>
Note that several occurrences of these lines may appear in various places. You have to find the right ones (or should I say the wrong ones?) to be deleted and the right ones to keep !
> BTW, what formatting is allowed here ?
Ok, I could eventually find the markdown specification at https://musescore.org/en/node/310123
In reply to (No subject) by Jojo-Schmitz
Oops ! Sorry ! I thought the title was local to my reply (like in many forums).
This is a bug with the new automatic bracket adding functionality too. Do we need to create a separate issue for it?