Pickup bars won't be set up correctly when adding new instruments

• Nov 23, 2013 - 11:46
Type
Graphical (UI)
Severity
S4 - Minor
Status
closed
Project

Below two simple steps to reproduce:

--> create an empty score with 4/4 time signature and a 1/4 pickup bar containing one instrument, for example, piano
--> add another instrument in "Add->Instrument" menu, for example, flute

Now look at the score. The pickup bar in the just added instrument contains wrong rest. It should be a crotchet rest for the 1/4 pickup bar like in the piano part. Though a minim rest has been assigned instead.

Please refer to the attached picture.

Best regards
maxim

Attachment Size
mscore_pickup_bar_bug.png 24.31 KB

Comments

What you see is not a whole/semibreve rest (what you show is not a minim/half rest), but a full-measure rest. While they do indeed look the same, they are not. If it bothers you, just place a quarter/crotchet rest there.

Please don't assign an issue to yourself, unless you plan to provide a fix.
Also better use the forum first, the issue tracker is for established bug.

Status (old) by design active

Hmm, come to think on this some more:
if the new score wizzard creates the correct length rest for a pickup measure (which it does), this should work with Add->Instrument too. It does not (tested with 5074887), so we may indeed have a bug here. At least a miss-feature ;-)

Yes, it is wrong according to the rules of the western music notation and hence may disturb experienced musicians. Working around this issue by manually assigning the right rest works well at least for the current trunk (in the version 1.3 it just cancels the pickup bar), though fixing that wold be great.

I'd try to come up with a fix myself. Though I needed some points here because I'm quite unfamiliar with MS code base…

Best regards
Maxim

Thank you for your help!
I've already set up a working development environment.
What I'm currently doing is learning the MS code which has grown quite large. Some quick pointers from other developers may be useful though. I'll join the IRC then…

Best regards
Maxim