Swing text: playback lost

• Oct 31, 2018 - 10:41
Reported version
3.0
Priority
P2 - Medium
Type
Functional
Frequency
Once
Severity
S3 - Major
Reproducibility
Always
Status
active
Regression
Yes
Workaround
No
Project

Win 10 / MS 3.0.0, 2647ff8

See attached file. There was swing playback in MS 2 but none in the MS 3.0-dev nightly.

Attachment Size
swing_lost.mscz 9.2 KB

Comments

Status PR created fixed

Fixed in branch master, commit c74eb802b4

fix #277648: try to distinguish between StaffText and SystemText on 2.X import

Initial issue is about swing playback which was imported as staff
text and hence did not apply to all staves. The fix tries to handle
system-wideness properly by looking at the style name of the text.
It is better to retrieve an actual value of "system flag" property
for the given style but it is unclear currently whether it is possible
to do so.

Concerning compared style names:
"Tempo" is the style name for the swing text in the original issue
"System" is the style name for system text elements
Other names are put just by assumption based on which elements in
MuseScore 3 are system-wide by default.

Priority P0 - Critical P2 - Medium
Status fixed active

I've merged the PR which fixes the issue. MTest including midi check could be added for this case.