Adding a symbol to a text that has just been dragged causes crash

• Jul 12, 2019 - 10:14
Reported version
3.2
Priority
P1 - High
Type
Functional
Frequency
Once
Severity
S2 - Critical
Reproducibility
Always
Status
active
Regression
No
Workaround
No
Project

OS: Windows 10 (10.0), Arch.: x86_64, MuseScore version (64-bit): 3.2.3.7635, revision: d2d863f

1) Default score
2) Add a staff text (or system text)
(test file: text drag symbol.mscz )
3) Drag with the mouse just a bit this text, and whatever the direction
4) Press "Z" (symbols palette)
5) Double-click on any symbols let's say the first one (right-hand piccolo)

--------> Crash


Comments

Priority P1 - High

I can reproduce the crash, but to be clear: this operation doesn't actually make sense, you can't add a symbol to a text element unless you are in Edit mode. The bug is that dragging the text apparently fools the code in acceptDrop() that should have rejected the operation, not sure why but it could be related to the recent changes involving triple-click etc.