Linked staves not linking after copy/paste into linked tablature staff

• Nov 25, 2018 - 00:39
Reported version
3.0-dev
Priority
P0 - Critical
Type
Functional
Frequency
Once
Severity
S2 - Critical
Reproducibility
Always
Status
fixed
Regression
No
Workaround
No
Project

Windows 10, latest master as of today, Nov 24. Copying/pasting tablature into a linked tablature staff creates notes in both staves, but those notes are not linked.

I assume that copying/pasting tablature into a linked tablature staff is a legitimate action. I believe it used to work. There is a workaround, which is copying/pasting only notation staves when they're linked. But there is no error message here, nothing to indicate that anything is wrong unless you look at the debug console or try to edit an unlinked note.

This is how I created the attached score:
1) Create a blank new score, choose instruments
2) Insert a guitar, then add a linked staff to the guitar staff and make the linked staff tablature-6-string-full
3) Copy/paste 1 measure of tablature from another score into the tablature staff
4) Now if I change notes in the either staff, nothing changes in the other staff. The staves are not linked for these notes.
5) If I copy/paste into the notation staff, the notes are linked. The problem is only when I copy/paste tablature. If the linked staff is not tablature, then the notes also link properly after copy/paste.
6) When I close and reopen the attached file, the following messages appear in the debug console:
Element::readProperties: could not link Chord at staff 2
Element::readProperties: could not link Note at staff 2
Element::readProperties: could not link Chord at staff 2
Element::readProperties: could not link Note at staff 2
Element::readProperties: could not link Chord at staff 2
Element::readProperties: could not link Note at staff 2
Element::readProperties: could not link Chord at staff 2
Element::readProperties: could not link Note at staff 2
Element::readProperties: could not link Chord at staff 2
Element::readProperties: could not link Note at staff 2
Element::readProperties: could not link Chord at staff 2
Element::readProperties: could not link Note at staff 2
Element::readProperties: could not link Chord at staff 2
Element::readProperties: could not link Note at staff 2
Element::readProperties: could not link Chord at staff 2
Element::readProperties: could not link Note at staff 2

Attachment Size
link_test_2.mscz 9.24 KB

Comments

Priority P1 - High P0 - Critical
Severity S3 - Major S2 - Critical

I can reproduce, but only if I save and reload between steps 3 & 4. That is, immediately after the paste, all is fine. but after save/reload, the links are broken. Doesn't even have to be content from another score.

So:

1) load attached score
2) select & copy first measure of tab staff
3) paste to second measure of tab staff
4) verify links work by press Up to raise pitch
5) save, close reload
6) select measure 2 tab staff, hit Up again

Result: changes not linked

Attachment Size
tab-link.mscx 9.69 KB

Marc, I assume you're last comment is regarding 3.0, not 2.3.2. Can you reproduce your more detailed repro steps in 2.3? Or is this a pure 3.0 issue?