Grace note alignment on multi-staves

• Jan 6, 2010 - 08:21
Type
Functional
Severity
S4 - Minor
Status
closed
Project

1. Create a multi-staff score
2. Create one whole note in each staff of the first bar
3. Add one grace note to the whole note in the first staff
4. Add three or four grace notes to the whole note in the second staff

Expected behavior: Adding grace notes to the second staff should not affect the spacing of

notes already added in other staves

Actual behavior: The grace note in the top staff moves further left with each successive grace

note added to the second staff

Workaround: If you swap the order of steps 3 and 4 then the grace notes align correctly.

MuseScore version: r.2569 nightly

(Operating System: Windows XP)


Comments

I can reproduce this.
I create a MusicXML with sibelius, and import into MuseScore.

NOT FOUND: 1

NOT FOUND: 2

This is due to code Chord* Measure::findChord(int tick, int track, int gl), in some case gl(gracelevel) will match and return a wrong chord.
Grace segment should be grouped by track, similar to chord, or else I have to scan all measures vertically and numbering all grace notes...

Attachment Size
grace-on-both-sibelius.png 41.72 KB
grace-on-both.png 8.69 KB
grace-on-both-staffs.xml 6.24 KB