Inability to show multi-measure rests in Continuous View
GIT commit: ac629b7 / Windows7
1) "My First Score"
2) Format -> General Style -> Tick "Create Multi-measure rests" -> Ok
First result in "Page View": as expected
3) Switch in "Continuous View"
Unexpected result: no MM rests shown
4) "I" -> Add an instrument, eg Flute -> Ok
Result: crash
Comments
I see a change on May, 18.
With this Nightly: 26e443c, I get this result in Continuous View (MM rests shown, but unexpected end barline,
which leads to this, after appending a measure (don't recall by now if it was another reported issue?)
- And the change is here (no MM rests shown in Continuous View, which leads to crash) with this commit: b448ab9
Dies of a failed Assertion:
Fatal: ASSERT failure in QList::operator[]: "index out of range", file C:/Qt/5.6/mingw49_32/include/QtCore/qlist.h, line 535 (:0, )
This issue goes back to a year and a half.
With the current 3.0 dev. ( b92a6e0), the step #4 (add an instrument) don't lead to crash.
relates to #272135: [EPIC] Continuous view issues
I'm fixing this issue during working under another issue #275552: Crash when MM rests are enabled in Continuous view.
see https://github.com/musescore/MuseScore/pull/3901
Fixed in branch master, commit b259099300
fix #275552 fix#137501: Inability to show MM rests in Continuous View
1) The reason of crash is utilizing already deleted pointer. Each element are lying in tree. The parent of VBox element is System element. When we change mode to continuous view MS deleted all system elements and create new one. Then populate new tree with new system which root. But VBox is not shown in continuous view and MS do not set new parent for VBox. Sow VBox have pointer to deleted SYstem element. I fixed it.
2) Add header file to libmscore/CMakeLists. It doesn't effect on building, But it is necessary to include header files to Visual Studio IDE
3) Fix inability to show multi-measure rests in Continuous View see https://musescore.org/en/node/137501
Automatically closed -- issue fixed for 2 weeks with no activity.