Editing Measure numbers causes crash
Reported version
4.x-dev
Type
Functional
Frequency
Once
Severity
S2 - Critical
Reproducibility
Always
Status
closed
Regression
No
Workaround
Yes
Project
Whenever I try to edit the measure numbers for each line MuseScore 4 crashes.
To recreate this you need to type a new number after selecting the measure number.
I would also like to be able to edit this number because I am making a medley and want to keep the measures consistent with the original pieces. It doesn't hurt to be able to change things like that.
Thanks a lot!
Fix version
4.0.0
Comments
Selecting a measure number is not the way to modify it. You'd do this via the properties of that measure > Add to measure number"
I can't get it to crash by selecting a measure number and typing something, I can though after double-clicking it first (which puts an element into edit mode, single click won't).
Stack trace:
1 Ms::TextBase::notifyAboutTextInserted textbase.cpp 3075 0x770bfb
2 Ms::TextBase::edit textedit.cpp 564 0x775d56
3 mu::notation::NotationInteraction::editElement notationinteraction.cpp 2794 0x9e9781
4 mu::notation::NotationViewInputController::keyPressEvent notationviewinputcontroller.cpp 701 0x9ac92d
5 mu::notation::NotationPaintView::shortcutOverride notationpaintview.cpp 896 0x9a4b86
6 mu::notation::NotationPaintView::event notationpaintview.cpp 906 0x9a4c00
7 QApplicationPrivate::notify_helper(QObject *, QEvent *) 0x1abc790e
8 QApplication::notify(QObject *, QEvent *) 0x1abce3e3
9 QCoreApplication::sendEvent(QObject *, QEvent *) 0x68a65da8
10 QQuickWindow::event(QEvent *) 0x6e6e1d94
11 QApplicationPrivate::notify_helper(QObject *, QEvent *) 0x1abc790e
12 QApplication::notify(QObject *, QEvent *) 0x1abce3e3
13 QCoreApplication::sendSpontaneousEvent(QObject *, QEvent *) 0x68a65f78
14 QGuiApplicationPrivate::processKeyEvent(QWindowSystemInterfacePrivate::KeyEvent *) 0x61976cae
15 QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent *) 0x6197b3b5
16 bool QWindowSystemInterfacePrivate::handleWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent *) 0x61957a25
17 QWindowSystemInterface::handleShortcutEvent(QWindow *, unsigned long, int, QFlags, unsigned int, unsigned int, unsigned int, QString const&, bool, unsigned short) 0x6195c4ac
18 QGuiApplicationPrivate::processKeyEvent(QWindowSystemInterfacePrivate::KeyEvent *) 0x61976bab
19 QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent *) 0x6197b3b5
20 QWindowSystemInterface::sendWindowSystemEvents(QFlags) 0x6195722d
...
See https://github.com/musescore/MuseScore/pull/10584, probably oversimplifying the issue.
After all measure numbers are not editable that way anyhow, not even with that crash fixed.
Fixed in branch master, commit b9391b0f35
_Fix #329469: Editing Measure numbers causes crash
While at it fix other potential crashes in the same area_
Fixed in branch master, commit 28bf1776dd
_Merge pull request #10584 from Jojo-Schmitz/edit-measure-number
[MU4] Fix #329469: Editing Measure numbers causes crash_
Automatically closed -- issue fixed for 2 weeks with no activity.