[Musicxml Export] - Measure Number Reset Fails When Meeting Text Frames

• May 27, 2020 - 02:03
Reported version
3.4
Type
Performance
Frequency
Once
Severity
S2 - Critical
Reproducibility
Always
Status
active
Regression
No
Workaround
No
Project

When I convert this score:
https://musescore.com/user/2749876/scores/6170187
I found the section break doesn't reset measure number in Musicxml ny more. I tested using 3.4, and it was OK. All recent builds, including 3.5 alpha, have this rooled back. Can it be restored?


Comments

> I found the section break doesn't reset measure number in Musicxml ny more.

Wrong. There are no section breaks at all. That's why it doesn't reset measure numbers. Looking at this...

I seem to find the cause. The Ravel score does have lots of section breaks, e.g., line 1526, 5362 etc. But the reason is not section breaks, but barlines. observed the conversion of Beethoven's 9th from Open Score, and found there are sometimes bar number resets. But the condition is the barline should be double instead of final, thus all final barlines with section breaks don't work at all! So the solution is to include all section breaks instead of looking for certain barline types.

Haipeng

Sorry, I was wrong. I tested using Ravel, but it still has continuous numbering. MS 3.4.2 still gives correct numbers. The pdf also show reset numbers. I'm totally confused, it's a cunning magician :-)

Haipeng

Now I found the ultimate culprit. It's because of text frames after the break. Please see the score, every new piece has its own titles and long blocks of story texts at the top of the new page. The breaks should not care about such tboxes and vboxes!

Title [Musicxml Export] - Measure Number Reset regression in 3.5 Alpha and nightly builds [Musicxml Export] - Measure Number Reset Fails When Meeting Text Frames

Changed the issue title.

Regression Yes No

Testfile mtest/musicxml/io/testBreaksSystem.mscx (which does not contain text frames but does have section breaks) is still handled correctly. It seems this is not a regression but a requirement I failed to implement.

Hypothesis confirmed, see attached simple test file with both section breaks and test frames. The measure number is not reset in the MusicXML export. When the text frames are removed, measure number is reset.

Attachment Size
Untitled.mscx 4.72 KB