Changes to Measure properties are not propagated between score and existing linked parts after save/reload

• Oct 9, 2017 - 17:29
Priority
P1 - High
Type
Functional
Frequency
Few
Severity
S3 - Major
Status
closed
Regression
No
Workaround
No
Project

Score with simple repeats (AKA repeat barlines) and linked parts.
Changing the 'Play count' property of the measure with the end repeat barline is score is not reflected in part and vice versa. Changing a volta's repeatlist though does propagate.

MuseScore 2.1, Windows 7


Comments

Even stranger: I can't reproduce it, if I take an existing score without parts, generate the linked parts and then change the repeat count on either score or part.
I can reproduce though, when using an existing score with linked parts and then change the repeat count on either score or part.
?!?
In either case the scores had been created (or at least last saved) with 2.1

I have read through this thread, there is no example score comes with it. I am not sure if it’s the same scenario with this score I am editing, with which by changing “Play count” of the measure where the repeating sign is rooted would bring out strange unexpected playing behavior.
I am trying to get it play repeat three times correctly, it's just not achievable for the third loop via changing limited variable.

Attachment Size
轻风 - Teresa Teng - Copy - Copy.mscz 13.26 KB

In reply to by Xianyue賢越

Your request is unrelated to this issue (no parts in your score)
To receive the desired result, you have to change the repeat list in Volta Properties.
So: right-click on the Volta 2 (measure 12) -> Volta Properties -> Set the number 1 (instead 2) in the Repeat list box.
See: 轻风 - 1Teresa Teng - Copy - Copy.mscz

In the future, it is recommended to use the Support Forum https://musescore.org/en/forum/6 for such questions.

Title Changes to Measure properties 'Play count' is not propagated between score and existing linked parts Changes to Measure properties 'Play count' and "Exclude from measure count' are not propagated between score and existing linked parts
Title Changes to Measure properties 'Play count' and "Exclude from measure count' are not propagated between score and existing linked parts Changes to Measure properties are not propagated between score and existing linked parts
Reported version 2.1  
Priority P1 - High
Regression No
Workaround No

Still the case for at least some properties (see also "break multimeasure rests"). Arguably by design but worth reconsidering.

Status active PR created
Frequency Few

Even if reported earlier in this issue, repeat count and exclude from measure count is propagated. At least with scores whehe the parts are created afreash (and I guess that might have been the reason why I wasn't able to reproduce it at one point)

See https://github.com/musescore/MuseScore/pull/5316 for getting measure number offset linked

There is a report of a case where this does not seem to be working after all, my initial investigation suggests it works at first but the link is somehow not re-established when the score is saved/reloaded. See https://musescore.org/en/node/64636#comment-995451. I went ahead and re-opened that issue rather than this one because it already has the sample score, but I'm fine with someone reopening this instead or opening a new issue.

Title Changes to Measure properties are not propagated between score and existing linked parts Changes to Measure properties are not propagated between score and existing linked parts after save/reload
Status closed active

This is definitely still active, I can reproduce easily from scratch:

1) default empty score
2) fill first few measures with whole notes to remove mmrests from the equation
3) go to format / style /measure numbers and set to display on all measure (interval = 1)
4) generate parts
5) exclude first measure from measure count

Result: as expected, measure is excluded from count in both score and part (you see the first two measures unnumbered, a "2" on the third measure)

Now, save & reload. Uncheck the exclude from measure count in the first measure. It works in the score (only first measure is unnumbered, "2" on second measure) but part still shows the first measure excluded.

Somehow the links are not being re-established correctly. Tested with 3.5 alpha

Indeed, although measures can be linked, this information is not written into the score file since in Measure::write() Element::writeProperties() is not called at all. This latter method is responsible for writing the link information.
PR is in on its way, right now I'm looking into 18 failed tests (which is expected since now the measure links are in the file too!).

Status PR created fixed

Fixed in branch 3.x, commit 2c7435b19e

_Fix #257581, Fix #64636 - Changes to Measure properties are not propagated between score and existing linked parts after save/reload

Saving link information into the MSCX file. Since measure information is written for
every staff, make sure the link information is written for the first staff only._

Fixed in branch 3.x, commit a470fc3037

_Revert "Fix #257581, Fix #64636 - Changes to Measure properties are not propagated between score and existing linked parts after save/reload"

This reverts commit 2c7435b19e4b774070985acfc8c25d8b356d30d3._

Status PR created fixed

Fixed in branch 3.x, commit 529fe7f5c3

_Fix #257581, Fix #64636 - Changes to Measure properties are not propagated between score and existing linked parts
after save/reload

When reading a mscx file containing parts, link all measures of the part to the corresponding measure in the MasterScore._

Fixed in branch 3.x, commit 5431550f87

_Merge pull request #6743 from njvdberg/issue-257581-linking-measures

Fix #257581, Fix #64636 - Changes to Measure properties are not propagated between score and existing linked parts_

Fixed in branch 3.6alpha, commit 529fe7f5c3

_Fix #257581, Fix #64636 - Changes to Measure properties are not propagated between score and existing linked parts
after save/reload

When reading a mscx file containing parts, link all measures of the part to the corresponding measure in the MasterScore._

Fixed in branch 3.6alpha, commit 5431550f87

_Merge pull request #6743 from njvdberg/issue-257581-linking-measures

Fix #257581, Fix #64636 - Changes to Measure properties are not propagated between score and existing linked parts_

Fix version
3.6.0