dropping volta onto measure rest ending with a barline will incorrectly apply to next measure

• Jun 25, 2019 - 02:43

on current nighlty OS: Arch Linux, Arch.: x86_64, MuseScore version (64-bit):, revision: 0bfbac8

If I start with:


And then drop a volta with my mouse onto the 3-measure rest, then it incorrectly gets applied to subsequent measure (and also adds an undesired line break):



Note that this doesn't happen when double-clicking on a volta in the palette to apply. The bug only happens when dragging and dropping a volta from the palette with the mouse.

And i've discovered an important distinction: the bug only happens when you drop onto the actual black line of the multi-measure rest. The bug does not happen when you drop above the measure. So it seems to be a matter about which element the volta gets applied to: the line representing the mmrest, or the actual measurebase object.

In reply to by ericfontainejazz

So I'm discarding that PR. However, upon furhter inspection, I've discovered that what I've described in this forum post here is actually a bug. It also happens when you drop a volta just to the right of a whole rest element. So somehow in the drop destination calculation, it is mistakenly concluding the destination is the next measure.

Anyway, I'm trying a new solution to my other issue, which seems to better address the problem...standby.

Do you still have an unanswered question? Please log in first to post your question.