Crash when pasting "all" to new file

• Sep 5, 2014 - 19:46
Type
Functional
Severity
S2 - Critical
Status
closed
Project

How to reproduce:
1. Create new file
2. Select all from either provided files
3. Select bar 1 of new file and paste

Bug appeared on 2.0.0 Revision 1efc609.
Tested on latest nightly with same results.
All on Windows 7 x64.

Attachment Size
Calgon For Hetfield.mscz 6.16 KB
Lady_Red.mscz 4.73 KB

Comments

There are two different bugs.
First file, the crash is due to spanner which can't find its end since the paste doesn't work. Pasting tuplets accross measure boundaries is not permitted currently.

Second file, the crash is due to copy pasting with notes in the second voice.

Thanks for the fast fix!

Pasting tuplets accross measure boundaries is not permitted currently.

But if you set the new score to the same time signature as the first attached file (4/2), there shouldn't be any tuplet crossing barlines when pasting, should it? cfa99c6ca4 indeed fixes both crashes, but the tuplet issue is replaced by a warning message about pasting tuplets across barlines. Am I missing something here?

Sorry, I had this on my list of things to investigate but forgot.

There is one bar with the actual duration set to 5/4 (last bar of second system). That throws off the barlines when copying, which is why you get the message. So the behavior is correct.