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 at opening if "Show clef" in Staff/Part Properties is unchecked #22759

Closed
cadiz2 opened this issue May 10, 2024 · 8 comments · Fixed by #22802
Closed

Crash at opening if "Show clef" in Staff/Part Properties is unchecked #22759

cadiz2 opened this issue May 10, 2024 · 8 comments · Fixed by #22802
Assignees
Labels
crash Issues involving a crash of MuseScore regression Regression on a prior release

Comments

@cadiz2
Copy link

cadiz2 commented May 10, 2024

Issue type

Crash or freeze

Bug description

All is in the title

Steps to reproduce

  1. Create new score for Acoustic Guitar (Tablature) or Banjo (Tablature) no matter
  2. Right-click the staff -> Staff/Part Properties -> Untick "Show Clef" -> OK
  3. Save/Quit
  4. Reload
    Result: CRASH

Screenshots/Screen recordings

MuseScore Version

Version 4.3

Regression

Yes, this used to work in a previous version of MuseScore 4.x

Operating system

OS: Windows 10 Version 2009 or later, Arch.: x86_64, MuseScore Studio version (64-bit): 4.3.0-241231433, revision: github-musescore-musescore-5f36e74

Additional context

@muse-bot muse-bot added crash Issues involving a crash of MuseScore regression Regression on a prior release labels May 10, 2024
@zacjansheski
Copy link
Contributor

Confirmed regression of 4.2

@zacjansheski
Copy link
Contributor

Diagnostic files:

TabCrash.zip

@zacjansheski
Copy link
Contributor

Reproduction score (if helpful)
TabCrash.mscz.zip

@RomanPudashkin
Copy link
Contributor

Most likely caused by d3a6f81

@cbjeukendrup
Copy link
Contributor

I'm about to open a PR

@cadiz2
Copy link
Author

cadiz2 commented May 13, 2024

Thanks!
Could you please check that this patch also covers this use case (probably?) that has just appeared on the forum, here: https://musescore.org/en/node/364024

On the attached file (BWV 527 Bc), the TAB clef is hidden (the trigger of the issue) while the lower staff shows a bass clef. So it doesn't crash when you open the file.

On the other hand, as the OP points out, it does crash when creating Parts, so

  1. Open this file
  2. Parts -> "Open all"
    Result: crasch

@zacjansheski
Copy link
Contributor

#22802 does resolve that issue as well!

@cadiz2
Copy link
Author

cadiz2 commented May 13, 2024

Great. Thanks!

@cadiz2 cadiz2 changed the title TABLATURE staff without showing TAB clef crashes MuseScore at opening Musescore crashes at opening when "Show clef" in Staff/Part Properties is unchecked May 19, 2024
@cadiz2 cadiz2 changed the title Musescore crashes at opening when "Show clef" in Staff/Part Properties is unchecked Crash at opening if "Show clef" in Staff/Part Properties is unchecked May 20, 2024
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 regression Regression on a prior release
Projects
Development

Successfully merging a pull request may close this issue.

7 participants