Import from 2.3.2 may create useless user text style "Figured bass"

• Nov 4, 2019 - 22:02
Reported version
3.3
Type
Functional
Frequency
Once
Severity
S4 - Minor
Reproducibility
Always
Status
closed
Regression
No
Workaround
No
Project

If, in MuseScore 2.x, one or more Figured bass parameters were changed, a customised "Figured bass" text style was automatically generated in the .msc? output file.

Upon loading such a score in ver 3.x, a user text style "Figured bass" is creating, taking up one of the few slots for user text styles.

As the "Figured bass" text style was only an internal requirement (it was not even shown in the list of text styles) and potentially customised F.b. parameters are in any case imported from the <figuredBassFontSize>, <figuredBassYOffset>, etc. tags of the <Style> section, this user text style is useless and could be simply ignored, freeing a user text style slot.

A one-measure v. 2.x score showing this is attached.

PR is coming...

Attachment Size
Test_FB_import.mscx 9.46 KB

Comments

Status PR created fixed

Fixed in branch master, commit 306e31d6a8

_Fix #296610 : import from 2.x may create useless "Fig. bass" user text style.

See the original issue for details and why this uext style is useless.

The fix simply ignores the "Figured bass" text style while importing from 2.x; possibly customised F.b. parameters are in any case loaded form the relevant tags of the main section.

While at it, this PR also ignores the "Repeat Text" style, which was a generic varinat for "Repeat Text Left" and Repeat Text Right" and no longer exists in ver. 3.x._

Fix version
3.3.3