Crash on drag & drop of volta in continuous view
Reported version
3.x-dev
Priority
P0 - Critical
Type
Functional
Frequency
Once
Severity
S2 - Critical
Reproducibility
Always
Status
closed
Regression
No
Workaround
Yes
Project
When you drag a volta into your score while you are holding shift on the keyboard musescore crashes. The workaround is to not hold shift when you drag the volta but sometimes I forget to do that and the program crashes.
Fix version
3.5.0
Comments
I can't reproduce this. Which build, specifically (see Help / About)? And how you you doing the drag - are you clicking the volts first, double-clicking firs, etc? And can you attach a specific score where this happens?
In reply to I can't reproduce this. … by Marc Sabatella
I am running build OS: Windows 10 (10.0), Arch.: x86_64, MuseScore version (64-bit): 3.5.0.12237, revision: b5add95 (The newest beta version). It only occurs when you drag from the palette and you don't have anything selected. Attached is a gif where the crash occurs.
Ah, somehow I missed the word "into" in the original description and thought this was about shift+drag within the score. There would be a reason to want to do that - to constrain the direction of the drag to vertical only. I'm not so much understand why you would be trying to press Shift when adding to your score, unless maybe the on-screen keyboard I see in the video is relevant - that you are using this, and you have enabled a "sticky" shift key you forgot to turn off? Doesn't really matte,r just trying to understand how this came up, or if there was something you expected shift to accomplish here.
Unfortunately, all that said, I still can't reproduce this, so I'm thinking it could be something unique to your score. Could you please attach it, and tell us precise to which measure you are trying to attach the volts?
Volta_Crash.mscz I was trying to select two measures with the volta by shift-dragging on multiple measures. It only seems that it works when you do it on any staff that is not the uppermost one. My guess is what is happening is it is trying to do the volta on only one staff but then it realizes it cant do that and it crashes. It also only seems to crash in continuous view. Also the on-screen keyboard is only there to show the key presses and I never use it normally.
Yes, you are right, continuous view is the key here, that's why I couldn't reproduce before. Doesn't matter the score, doesn't matter if you hold Shift - drag&drop of a volta in continuous view crashes, period.
For the record, the way to add a line (or anything from the palette) to a selection is to first make the selection, then simply click the palette element. no need for drag&drop, pretty much ever.
Thanks for helping track this down!
In reply to Yes, you are right,… by Marc Sabatella
You forgot to change the status to active as the info is there now.
Indeed, thanks! Meanwhile, we're working on a fix.
https://github.com/musescore/MuseScore/pull/6286
and
https://github.com/musescore/MuseScore/pull/6287 for 4.x
Fixed in branch 3.x, commit 21e178c99f
fix #307433: fixed crash when adding voltas in continuous view and improved behaviour with repeats
Fixed in branch 3.x, commit a0f1b52078
_Merge pull request #6286 from SKefalidis/smooth3x
fix #307433: fixed crash when adding voltas in continuous view and improved behaviour when there are repeats_
Automatically closed -- issue fixed for 2 weeks with no activity.