Regression: linked staves are broken and lead to corruption

• Sep 25, 2016 - 09:14
Reported version
3.0
Type
Functional
Severity
S2 - Critical
Status
closed
Project

GIT commit d98a3d3 / Windows 7

1) "Tablature guitar " template
2) Enter some notes first measure
3) "I" -> Add a linked staff, Standard type -> Ok

First result: seems work as expected
Tab1.jpg

4) But: Continue to enter notes in the Tab staff

Result: the "link" between the two staves is broken (not any note in the second staff), and worse (consequence), corruption: no rest displayed.
Tab2.jpg
5) Save the file
6) Reload the file ( test file.mscz ): so, warning of corruption at the opening (0/1 instead of 4/4 expected)


Comments

Title Linked staves Standard/Tab are broken and lead to corruption Linked staves are broken and lead to corruption

Well, same steps: same result with two linked standard staves.

cor.jpg

So, after investigation, this issue is not related to the commit mentioned in the comment #1. It is much more recent: 14 September.

- On the last nigthly of 13 September (dae8605), all is well.
See result (tested on "My First Score")
13septembre-dae8.jpg

- On September 14, I get the broken link and corruption with this nightly: 4c5ada5
14septembre4c54.jpg
The previous commits of this day seem harmless from the perspective of the issue (no sure of course...)
But this one may be a little less (or likely much less?): https://github.com/musescore/MuseScore/pull/2656
(https://github.com/musescore/MuseScore/pull/2656/files)
since "linked stave" (image below) is mentioned?
linked stave.jpg

Title Linked staves are broken and lead to corruption Regression: linked staves are broken and lead to corruption