MeasuringPolyphony/mp_editor

Staff Deletion Error

Closed this issue · 3 comments

There is a potential problem with staff deletion. If one chooses the wrong voice part or mensuration and does not catch the error immediately--i.e. a save has been made or one has moved back and forth between Score Editor and Music Input or a new staff has been worked on--the staff can be visually deleted but still remains when transcribed into Score Editor. This leads to staves being doubled, tripled, etc. whereby the corrected staff is simply added to the voice part in Score Editor instead of replacing the deleted staff.
Doubling 1
Doubling 2
Doubling 3

Firmissime-Adesto Staff Replication Error Console Logs.log

In relation to this Issue, if you delete a staff immediately after entering the notes, then this is not a problem. But, once you possibly save your work, move back and forth between Music Input and Score Editor, and/or work on a new staff, you have to click on the “Delete Staff” button multiple times before it is visually removed. However, that deleted staff remains due to the problem detailed in the main part of this Issue.

I am not sure if this is related to this post, but here is another example from a different piece where all highlighted staves were inexplicably doubled when transcribed into Score Editor. However, in this case, no deletion occurred beforehand.

[Ne pensez pas Console Logs Doubling Error.log]
(https://github.com/MeasuringPolyphony/mp_editor/files/5072033/Ne.pensez.pas.Console.Logs.Doubling.Error.log)
Ne pensez pas MEI Parts and Score Doubling Error.zip

This appears to be fixed in the new version. Tested today.