Crash when clearing "Show more elements" before adding an element in a new palette
Reported version
2.1
Priority
P0 - Critical
Type
Functional
Severity
S1 - Blocker
Reproducibility
Always
Status
closed
Regression
No
Workaround
Yes
Project
MS 2.0.3 / Win 7
Use any score you like, but it must have some palette symbols already applied, fingering, text-lines or whatever.
1. Make sure you have a user workspace in view, right-click on a palette and select "Insert New palette."
2. In the dialogue that pops up, tick "Show grid" and "Show more elements." Exit dialogue.
3. Open the new palette, right click on the "show more elements" symbol and select "clear."
4. Press Ctrl + Shift, then drag and drop an element from the score onto the empty palette.
Result: CRASH!
There was also a similar crash in MS 2.0.2 (official) but you had to repeat step 4 to get it. There is a similar crash on dragging symbols from the master palette to the new palette.
Comments
Tick "Show grid" is not necessary to receive the crash.
Still valid for 3.0-dev.
OS: Debian GNU/Linux 9 (stretch), Arch.: x86_64, MuseScore version (64-bit): 3.0.0, revision: b3feb3a
Set P0 instead of P1 because the issue doesn't look hard to fix.
Pull request to fix the issue: https://github.com/musescore/MuseScore/pull/4104
Fixed in branch master, commit 0d819a9809
fix #105981: crash when clearing "Show more elements" before adding an element in a new palette, by making `_moreElements` consistent
Fixed in branch master, commit f0f781c7c3
Merge pull request #4104 from songchaow/fix_palette_crash
Fix #105981: Crash when clearing "Show more elements" before adding an element in a new palette
Automatically closed -- issue fixed for 2 weeks with no activity.