"Show bar number range at multibar rests" produces incorrect bar numbers

• Feb 4, 2023 - 13:45
Reported version
4.0
Type
Functional
Frequency
Many
Severity
S3 - Major
Reproducibility
Always
Status
closed
Regression
No
Workaround
No
Project

When editing a style to include "Show bar number range at multibar rests" under Bar Numbers, the bar numbers will output incorrectly.

The first will display the end bar number twice (e.g [5-5]). The second instance displays a percentage symbol, the previous bar number, and then the end bar. Others seemingly display the end bar number follows by the last digit of the previous bar number (e.g bar 10 followed by a 5 multibar rest turns into [140-14].

I'm unsure on the reasoning here, and this is reproducible on a brand new project in both 4.0.0, 4.0.1 and the latest nightly build.

OS: Windows 10 Version 2009, Arch.: x86_64, MuseScore version (64-bit): 4.0.2-230350507, revision: aabbec1

Attachment Size
multibar.png 41.79 KB

Comments

In reply to by SteveBlower

Oh amazing! I should have tried finding an existing issue to be fair but not so familiar with reporting bugs, so thanks for the link! I'll keep an eye out for existing bug reports in future. I also picked the Nightly latest rather than the master which appears to already have the fix in it.

Fix version
4.0.2