Time signature deletion removes other elements

• Jun 11, 2015 - 13:27
Reported version
S4 - Minor

When a time signature deletion does not change the prevailing time signature, the elements in subsequent measures should remain intact. See attached score for an example.

GIT commit: b25f81d

Attachment Size
TimeSigBugReport.mscz 8 KB


Not sure if you're misunderstanding what this is about, but it is perfectly normal and correct that adding & deleting time signatures rewrites measures and thus loses elements attached to the old measures specifically as opposed to notes within them. It's just that there are a couple of corner cases where we could potentially perform an optimization and not do the write if things happen to work out just right, and here is one such corner case we miss. So, instead of performing this optimization, we simply do what we do in the other 99% of cases.

I did take a look at what would be involved in fixing this, but it is extremely delicate. Doing this without causing score corruption in scores that include local time signatures may prove difficult. See for example #51596: Delete of global time signature after local causes corruption.