Editing Measure numbers causes crash

• Feb 15, 2022 - 22:01
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!


Comments

Workaround No Yes

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
...

Fix version
4.0.0