clicking footer text corrupts parts

• Aug 13, 2020 - 17:14
Reported version
3.5
Priority
P0 - Critical
Type
Functional
Frequency
Once
Severity
S2 - Critical
Reproducibility
Always
Status
closed
Regression
Yes
Workaround
No
Project

In a score with footer text and parts, clicking the footer text while viewing a part turns the part into a full score. Opening a different part tab in the project seems to revert the part back.

1) create a score
2) add footer text (or add Copyright text in New Score Wizard in step 1)
3) go to Parts and make parts
4) go to one of the part tabs
5) click the footer text
Result: the part becomes identical to the the full score until you open a different part tab.

Additionally, MuseScore will crash if you try to close the project while viewing the corrupted part.

OS: Windows 10 (10.0), Arch.: x86_64, MuseScore version (64-bit): 3.5.0.13199, revision: 43c5553


Comments

Stack trace (for the crash part of that issue)

1 Ms::Score::masterScore score.h 1060 0xfdafdc
2 Ms::Seq::setScoreView seq.cpp 222 0x46de0d
3 Ms::MuseScore::setCurrentScoreView musescore.cpp 2677 0x41929d
4 Ms::ScoreView::focusInEvent events.cpp 241 0x623c15
5 QWidget::event(QEvent *) 0x2ae5687f
6 Ms::ScoreView::event events.cpp 106 0x6230b0
7 QApplicationPrivate::notify_helper(QObject *, QEvent *) 0x2ae17bdc
8 QApplication::notify(QObject *, QEvent *) 0x2ae1ec23
9 QCoreApplication::sendEvent(QObject *, QEvent *) 0x68a692e8
10 QApplicationPrivate::setFocusWidget(QWidget *, Qt::FocusReason) 0x2ae1c77d
11 QWidgetPrivate::paintSiblingsRecursive(QPaintDevice *, QList const&, int, QRegion const&, QPoint const&, int, QPainter *, QWidgetBackingStore *) 0x2ae4fb8c
12 QWidget::setFocus qwidget.h 416 0xf7e54e
13 Ms::ScoreView::event events.cpp 99 0x623096
14 QApplicationPrivate::notify_helper(QObject *, QEvent *) 0x2ae17bdc
15 QApplication::notify(QObject *, QEvent *) 0x2ae1fc1a
16 QCoreApplication::sendSpontaneousEvent(QObject *, QEvent *) 0x68a694a8
17 QApplicationPrivate::sendMouseEvent(QWidget *, QMouseEvent *, QWidget *, QWidget *, QWidget * *, QPointer&, bool, bool) 0x2ae1e018
18 QDesktopWidget::qt_metacall(QMetaObject::Call, int, void * *) 0x2ae6a65d
19 QDesktopWidget::qt_metacall(QMetaObject::Call, int, void * *) 0x2ae6d22b
20 QApplicationPrivate::notify_helper(QObject *, QEvent *) 0x2ae17bdc
...

Fix version
3.5.1