Dotted tuplet has incorrect duration after save/reload
Load mtest/guitarpro/dotted-tuplets.gp5 into MuseScore. It will look like this:
The baseLen of the tuplet is a dotted eighth. The duration of the tuplet is equal to a dotted quarter. The 1/16th note at the end is outside the tuplet; it is just beamed together with the tuplet.
Saving the score as MSCX results in mtest/guitarpro/dotted-tuplets.gp5-ref.mscx, which when loaded into MuseScore looks like this:
The baseLen of the tuplet has been changed to an eighth (without a dot). The duration of the tuplet is now only equal to a quarter. A rest has been created where the third note should be. The rest comes after the tuplet, but the tuplet bracket is drawn across the rest.
The reason for this is that any dots in a tuplet's baseLen are lost when the baseLen is written. This can be solved by writing out the number of dots in the baseLen if it is greater than 0.