Edit bracket lead to crash
Steps to reproduce:
1) Create a new score
2) Add instruments
3) Add bracket on the first staff
4) Extend the bracket to others staves
Expected behavior:
- Bracket can be extend
Actual behavior:
- MuseScore crash
Version: MuseScore 3.0 revision 2c391b6 (Same behavior with Nightly 79b596f)
OS: Windows 7 SP1 x64 EE French and Windows 10 1709 x64 EE French
Test score is attached, and same behavior when choose a Choir SATB template
Edit Bracket Crash.mscz
Comments
Thanks. Known issue.
Duplicate of #240831: Edit arpeggios and spacers causes a crash
In reply to Thanks. Known issue… by cadiz1
Ah ok, thanks, I have not find after searching. (need to improve my searching method...)
Edit bracket fixed in rev 3f57552, crash cannot be reproduced.
In reply to Edit bracket fixed in rev… by JLWaltener
Better, but not yet completely fixed (with 3f57552)
Eg: Jazz Big Band template -> Page Settings -> Scaling to 1.364mm -> OK
Then, try to extend the piano brace.
Result: crash
In reply to Better, but no yet… by cadiz1
Right, I had only checked with a SATB choir score.
Therefore, it's quite better.
Fixed in branch master, commit f1c36a6ed9
fix #240831, fix #267689: crash on editing arpeggios, spacers, brackets and stems
Added required call to the super startEdit() method to initialize ElementEditData for further usage in startEditDrag.
Removed nullptr check since it is actually useful to have crashes on master to find incorrect program states, but not just avoid occasional crashes.
Fixed in branch master, commit 902ae54ccb
Merge pull request #3452 from anatoly-os/240831_spacersEditCrash
fix #240831, fix #267689: crash on editing arpeggios, spacers, brackets and stems
Automatically closed -- issue fixed for 2 weeks with no activity.