Crash when clicking non-visible tablature rest
1. Create tablature score without rests.
2. Hold Shift and Command.
3. Click where a rest would be.
Result: Crash.
Note: See attached log.
Using MuseScore 2.0 Nightly Build (24700da) - Mac 10.7.5.
Attachment | Size |
---|---|
Crash when clicking non-visible tablature rest [Log].txt | 58.45 KB |
Comments
I can't reproduce on Linux (using Ctrl in place of Command). Could be Mac only, but I wouldn't mind seeing more detailed steps. Could you post a specific score and show via screenshot exactly where to click?
I can still reproduce it.
Here is a screencast .
Using MuseScore 2.0 Nightly Build f953fe7 - Mac 10.7.5.
I still can't reproduce. You are holding cmd * shift while clicking? Any particular reason?
I can reproduce.
1) Tab staff (type simple or common)
2) Hold Ctrl + Shift
3) Then, click where a rest would be (center of the staff)
Result: crash
I can locate this issue: on August 2
- This Nightly works: 69237e2
- This one - the immediate next one - fails (so: the cause is probably here) : 9195a9f
To fix: #28171: mmrests do not display on tab staves
Yes, holding Command and Shift, then click.
As far as I know, there isn't a reason to do this.
I'll change the title to include Mac, unless it is found to be otherwise.
Title change: not only on Mac. As described in previous comment #4, I can reproduce under Windows7.
Ah, cross post - thanks!
Well, I still can't reproduce, but can guess that maybe we are trying to draw the rest, but it has a bbox() of zero (the Object Debugger says so, anyhow). So perhaps adding a test for zero bbox() and returning if so would stop the crash. I don't know, doesn't really make sense to me that adding the test for mmrest here would cause a crash, seems it shouldn't change anything because this is test is always always going to be false. Unless maybe it's not initialized correctly.
Fixed in 5377954b95
Automatically closed -- issue fixed for 2 weeks with no activity.