Crash when hiding instrument if tempo marking on the score
Reported version
3.0
Priority
P0 - Critical
Type
Functional
Frequency
Once
Severity
S2 - Critical
Reproducibility
Always
Status
closed
Regression
Yes
Workaround
No
Project
OS: Windows 7 SP 1 (6.1), Arch.: x86_64, MuseScore version (64-bit): 3.0.0.4734, revision: 12d0e18
1) Default "Untitled" score
2) Add tempo marking (eg quarter note =80) onto the score
3) Press "I"
4) Untick "Visible" the piano staff
5) OK
---> Crash
Comments
Note also, and that's why I suspected something: in the Timeline, the tempo marking collides the time signature (somewhere related?)
And of course, you get the same crash by hiding the piano via the Timeline.
Occurs on December 10
There are about twenty commits between these two nightlies. I do not really know, but maybe this one, since it's related to "Hide instrument when empty"? https://github.com/musescore/MuseScore/pull/4340/files
To fix: #279062: Hide when empty: Instrument does not work (acts same as Auto)
Or ("top staff not visible")? https://github.com/musescore/MuseScore/pull/4335/files
To fix: #279310: System text ignored during autoplace when top staff hidden
In reply to Or ("top staff not visible")… by cadiz1
Ah, it crashes too by adding System text (instead of tempo marking)
So, rather the second one?
But the tempo marking is always misplaced in the Timeline.
So, I'm interrupting here! :)
For the crash see https://github.com/musescore/MuseScore/pull/4471, you pointed to the correct commit :)
Concerning Timeline issue, tempo displays correctly for me there. There was also another issue where you reported this, and all was correct for me that time too: #277995: Tempo markings are out of position. Apparently it did not get fixed, unlike I thought. Could you please create a separate issue for this?
Ok, thanks.
About the tempo display, I recall well the mentioned issue, but I am a bit confused right now. After both a revert to factory settings, and with exactly the same nightly (12d0e18), I get the result I showed above, with my desktop (Windows7). But I cannot reproduce with my laptop (Windows10). I don't understand currently the ins and outs of this shift.
fixing the English
Fixed in branch master, commit a5a1946bdb
fix #280442: fix a crash on hiding all staves if there are system elements
Fixed in branch master, commit 6eca0be9bd
Merge pull request #4471 from dmitrio95/280442-hide-staff-system-elements-crash
fix #280442: fix a crash on hiding all staves if there are system elements
Automatically closed -- issue fixed for 2 weeks with no activity.