Crash when adding a tie between ordinary note and grace note in the second linked staff
Hello.
I report a bug.
When I add a tie between a ordinary note to a grace note, application crashes.
Even application restarted, this problem didn't solve.
I would like MuseScore developers to fix this bug or give me some hints to solve.
I am a Japanese. I understand English only a little so you may can't understand this message. I'm sorry.
Thank you for reading even then.
Comments
I can not reproduce with the 2.1 here (and normally, you must add slurs not ties between grace notes and ordinary notes)
There must be something else (a corruption perhaps) that triggers that. BTW, there is some known issues with ties and slurs (which leads to crash) with the current 3.0 dev.
But, if you observe this with the 2.1, we need that you attach your score to check this out.
To attach a score, use the "File attachments" option at the bottom of the page -> Browse, etc.
Thank you for your quick answer!
Indeed, it is not normally to add ties between regular notes and grace notes. I'm going to find the proper way.
I attach a score, which has a problem for just in case. The problematic parts are the third beat of bar 85 and the first beat of bar 87. When I added ties there, the application crashed. (It may be hard to find because it is very small parts.)
Thanks for attaching the score.
Confirmed.
I thank for the cooperation to your solution to the problem.
Steps:
1) Load this test file (from Guitar + Tablature template): Tab below.mscz
2) Select the first "0" in linked Tab staff -> Hit "+" for tie
Result: crash
- You observe there is no issue by doing the same step #2 in standard staff
3) Load the same test file (but with inversed staves now): Tab above.mscz
4) Select the first G in linked standard staff -> Hit "+"
Result: same crash.
(And ditto: no crash by adding a tie in the top staff)
So, this crash involves linked staves and the location of the staff (it must be the second one, no matter if it's a Tab staff or a standard staff)
"thank for the cooperation to your solution to the problem."
And so the unstoppable way to avoid this issue, the better advice, is to add a slur, as it should be, not a tie.
And anyway, it's unusual to add slurs between ordinary notes and grace notes.
It should be: grace note -> slur, to ordinary note.
Edit: and if the grace note is entered after an ordinary note: no issue by adding a tie.
Thank you for giving an example and your advices.
I confirmed and I was able to solve this problem.
Confirmed for 3.0-dev.
To reproduce follow the instructions in this comment.
Tested on
OS: Debian GNU/Linux 9 (stretch), Arch.: x86_64, MuseScore version (64-bit): 3.0.0, revision: b3feb3a
See https://github.com/musescore/MuseScore/pull/4021
Fixed in branch master, commit de5b76a632
fix #233436: Do not search grace notes in different staves when making a tie
Fixed in branch master, commit 0580525766
Merge pull request #4021 from dmitrio95/233436-fix-grace-tie-search
fix #233436: Do not search grace notes in different staves when making a tie
Automatically closed -- issue fixed for 2 weeks with no activity.