Remove tuplets after inserting measures causes corruption/crash

• May 8, 2018 - 07:13
Version
2.1
Priority
critical
Status
closed
Component
Code
Category
bug report
Project

2.2.1 version (also in currents 2.3 dev. and 3.0 dev.) / Windows7

1) Default "Untitled" score
2) Create eg triplets in a measure, no matter which one
triplets.jpg
3) Select this measure -> Add -> Measure -> Insert one measure
4) Select and remove the triplets
Result: corruption

Intermediate result
triplets1.jpg
Final result:
triplets3.jpg
As expected :
5) click near the "double" barline ---> crash

  • From what I see, all figures of tuplets are impacted

  • And by inserting more than one measure (eg 4 - image below - or more), you get:
    four measures.jpg

  • First noticed in this thread: https://musescore.org/en/node/272169


Comments

With a little surprise, I note that this issue was already active with version 2.1.
Further investigation in progress.

Well, more and more surprised that this issue has not yet been reported.
Indeed, after checking, as far back as I go back in time, I note systematically the same problem.

See the screencast below, produced with this nightly (May 2014): e581255

Tuplets insert measures.gif

Status patch (code needs review) fixed

Fixed in branch master, commit 4e14bbcc3c

fix #272172: Remove tuplets after inserting measures causes corruption/crash
fix #272185: Delete a measure containing some tuplets + rest leads to corruption after inserting a measure