Reducing font size to 0 in Inspector causes crash
Reported version
3.0
Priority
P0 - Critical
Type
Functional
Frequency
Once
Severity
S2 - Critical
Reproducibility
Always
Status
closed
Regression
No
Workaround
No
Project
When changing the font size of the dynamic in the "dynamic + hairpin" inspector to 1 and then trying to increase it will crash MuseScore.
Comments
Using Windows 8.
Musescore 3.0.0 (latest beta update).
Increasing doesn't crash it for me, but decreasing past 1 does, because the font is now 0pt. I suspect your finger slipped and you thought you were increasing it but actually decreased it. The crash is not just for dynamic+hairpin, but for any text. Should be easy to fix by setting a lower limit on the appropriate combo boxes (although we will need to be careful to hit them all - there may be others hiding).
Added a lower limit for font size combo boxes in inspector: https://github.com/musescore/MuseScore/pull/4424.
For style settings dialog this seems to be already done.
In reply to Increasing doesn't crash it… by Marc Sabatella
Thanks! I assumed it was 1 because the inspector would not display a value less than one, and it would immediately crash. I'll let you know if there are any text inspectors that still crash when you update.
Fixed in branch master, commit 9a15e6e995
fix #280186: forbid setting font size below 1pt in Inspector
Fixed in branch master, commit bdfa39caa1
Merge pull request #4424 from dmitrio95/280186-inspector-font-0pt
fix #280186: forbid setting font size below 1pt in Inspector
Automatically closed -- issue fixed for 2 weeks with no activity.