Changes to a score cause all fermatas over a barline to be discarded

• Mar 29, 2018 - 12:54
Reported version
2.1
Type
Functional
Severity
S3 - Major
Status
closed
Project
Priority (old)
major
Status (old)
closed
Component (old)
Code
Category (old)
bug report

Documented on Forum post https://musescore.org/en/node/270849

This seems only to affect fermatas which are placed over the barline (select the barline before clicking on the fermata). Such fermatas are saved successfully, but a subsequent change to the score (e.g. adding stave text of style Tempo in next bar) will result in all such fermatas and the new text being discarded when the file is saved, closed and reopened.

Attachment Size
Fermata_Test.mscz 18.95 KB

Comments

Severity S4 - Minor S3 - Major

Loss of information without any indication and no way to get it back (like via Undo) -> major

Bug exists since at least 2.0(.0)

Not changing the staff text's style keeps at least that staff text, but still loses the fermatas

Adding a breath mark just before the fermata will also cause loss of all the "on the barline" fermatas when the file is closed and reopened.

Does the master branch not have that bug?
If it has, and the fix is not significantly different, better do the PR against master

Edit: ah, I see,:
The master branch has a different problem, in that fermatas below the barlines are converted into fermatas above, but it seems to know that it should write the barlines (and the fermatas) to the file.
A good reason for 2 PRs.

Status (old) patch (code needs review) fixed
Status patch (code needs review) fixed

Fixed in branch 2.3, commit 3e30c643ac

fix #270850: Changes to a score cause all fermatas over a barline to be discarded