Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash when copy pasting cross staff notation containing tuplets #16679

Closed
Attackoh opened this issue Mar 6, 2023 · 3 comments · Fixed by #17628
Closed

Crash when copy pasting cross staff notation containing tuplets #16679

Attackoh opened this issue Mar 6, 2023 · 3 comments · Fixed by #17628
Assignees
Labels
crash Issues involving a crash of MuseScore P1 Priority: High

Comments

@Attackoh
Copy link

Attackoh commented Mar 6, 2023

Issue type

Crash or freeze

Bug description

When you paste cross staff notation into a staff that cannot cross, it will crash.
For example, on a grand staff: bottom staff copy pasted onto the treble clef will crash, vice versa.
Pasting it onto a non grand staff will crash.

Steps to reproduce

  1. Create grand staff
  2. Write some cross staff beaming on one staff
  3. Paste it onto the opposite staff, or onto a different instrument with only 1 staff
  4. Crash

Screenshots/Screen recordings

crash.mp4

MuseScore Version

4.0.1-230121751

Regression

I don't know

Operating system

Windows 10

Additional context

No response

@Tantacrul Tantacrul added the crash Issues involving a crash of MuseScore label Mar 6, 2023
@oktophonie
Copy link
Contributor

I couldn't reproduce this myself from creating a simple example (OS: Windows 10 Version 2009, Arch.: x86_64, MuseScore version (64-bit): 4.0.2-230651553, revision: github-musescore-musescore-dbe7c6d); the behaviour was more or less what I expected. Maybe others can - but could you perhaps attach a file in which consistently encounter this?

@Attackoh
Copy link
Author

Attackoh commented Mar 8, 2023

Hmm, this would always crash for me yesterday, whether I was using the score above or creating a new one to test. It's a a bit less consistent now. For reference my machine is OS: Windows 10 Version 2009, Arch.: x86_64, MuseScore version (64-bit): 4.0.1-230121751, revision: github-musescore-musescore-9b70a8c

Here's a file:
crash test.zip

@oktophonie
Copy link
Contributor

oktophonie commented Mar 8, 2023

Thanks, I can also reproduce it easily from this!
It appears that the problem only occurs with cross-stave tuplets. Copying this to the lower stave won't cause a crash:
image

But this will:
image

(I've updated the issue title accordingly)

@oktophonie oktophonie changed the title Musecore crashes when copy pasting cross staff notation Musecore crashes when copy pasting cross staff notation containing tuplets Mar 8, 2023
@oktophonie oktophonie added the P1 Priority: High label Mar 8, 2023
@oktophonie oktophonie added this to To triage in MuseScore 4.1 via automation Mar 8, 2023
@oktophonie oktophonie changed the title Musecore crashes when copy pasting cross staff notation containing tuplets Crash when copy pasting cross staff notation containing tuplets Mar 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
crash Issues involving a crash of MuseScore P1 Priority: High
Projects
Status: Done
MuseScore 4.1
  
To triage
Development

Successfully merging a pull request may close this issue.

6 participants