crash when opening styles dialog
As soon as I try to open the styles dialog it crashes/exits with:
no widget for QPointF <QWidget><pedalPosAbove> no widget for QPointF <QWidget><pedalPosBelow> no widget for QPointF <QWidget><vibratoPosAbove> no widget for QPointF <QWidget><vibratoPosBelow> no widget for QPointF <QWidget><tempoPosAbove> no widget for QPointF <QWidget><tempoPosBelow> no widget for QPointF <QWidget><rehearsalMarkPosAbove> no widget for QPointF <QWidget><rehearsalMarkPosBelow> no widget for QPointF <QWidget><textLinePosAbove> no widget for QPointF <QWidget><textLinePosBelow> no widget for QPointF <QWidget><fermataPosAbove> no widget for QPointF <QWidget><fermataPosBelow> no widget for QPointF <QWidget><staffTextPosAbove> no widget for QPointF <QWidget><staffTextPosBelow> unhandled gui widget type QWidget valueType pedalPosAbove ...\MuseScore\msvc.build_x64\mscore\..\..\msvc.install_x64\bin\MuseScore.exe (Prozess "6664") wurde mit Code "1073741845" beendet.
5138c8f, self built with MSVC. Got to be a very recent change, probably 5138c8f itself or d77183b
Comments
This is an assertion failure in mscore/editstype.cpp. line 587
The widgets (
QDoubleSpinBox
) for "Position above" and "Position below" have been removed for Pedal, Vibrato, Fermatas, Text line, Staff text, Tempo text, and Rehearsal marks in d77183b fromeditstyle.ui
but not from thestyleWidgets
array ineditstyle.cpp
and this is now causing this crash.See https://github.com/musescore/MuseScore/pull/4047 which I don't really believe to be the real fix, just "band aid" to prevent the crash, esp. as for some others, Hairpins, Ottava, Trill, Dynamics, and Lyrics, this got solved differently
Actually that
QDoubleSpinBox
had been replaced with anMs::OffsetSelect
, but to the above mentioned elements without the corresponding code change?Ah, now I got it, the real problem was that in in d77183b the widgets for "Position above" and "Position below" had been forgotten to get changed from
QWidget
toMs::OffsetSelect
ineditstyle.ui
for Pedal, Vibrato, Fermatas, Text line, Staff text, Tempo text, and Rehearsal marks.PR updated and now should be the real fix
Fixed in branch master, commit 267ce91d12
fix #277274: crash when opening styles dialog
The widgets for "Position above" and "Position below" in `editstyle.ui`
had been forgotten to get changed in d77183b from `QWidget` to
`Ms::OffsetSelect` for Pedal, Vibrato, Fermatas, Text line, Staff text,
Tempo text, and Rehearsal marks.
Fixed in branch master, commit dd41e56fe4
Merge pull request #4047 from Jojo-Schmitz/style-crash
fix #277274: crash when opening styles dialog
Automatically closed -- issue fixed for 2 weeks with no activity.
Automatically closed -- issue fixed for 2 weeks with no activity.